[13-12-stable-ee] Revert google-protobuf update and handle PgQuery::ParseError errors
Due to https://github.com/protocolbuffers/protobuf/issues/8559, google-protobuf v3.15.8 can seg fault in the FindCommits RPC call if the options hash is garbage collected before gRPC encodes the message. This was fixed in google-protobuf v3.17.1 via https://github.com/protocolbuffers/protobuf/pull/8639.
To avoid these segfaults for 13-12-stable
, revert the change in !61102 (merged). Since we still need to handle normalization errors caused by PostgreSQL v12 queries, we catch them and log them as-is. !62792 (merged) handles the update to pg_query to avoid this need.
Relates to #330998 (closed)
Edited by Stan Hu