Unverified Commit af81e2e5 authored by Stan Hu's avatar Stan Hu
Browse files

Use gitlab-pg_query instead of pg_query

This pulls in two upstream pull requests:

* https://github.com/pganalyze/pg_query/pull/213
* https://github.com/pganalyze/pg_query/pull/212

google-protobuf v3.15.x has a bug that causes a seg fault in Ruby if
a repeated field is used with a parameter in a Hash:
https://github.com/protocolbuffers/protobuf/pull/8639

Since this is critical, we should use our own gem until pg_query tags a
version.
parent 32a6959d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
  spec.add_runtime_dependency "grpc", "~> 1.19" # Be sure to update the "grpc-tools" dev_depenency too
  spec.add_runtime_dependency "jaeger-client", "~> 1.1"
  spec.add_runtime_dependency "opentracing", "~> 0.4"
  spec.add_runtime_dependency "pg_query", "~> 2.0"
  spec.add_runtime_dependency "gitlab-pg_query", "~> 2.0"
  spec.add_runtime_dependency "redis", ">3.0.0", "<5.0.0"

  # Please maintain alphabetical order for dev dependencies