Sentry SQL query parser does not support covering index
We attempted to create a covering index, but the statement failed (unrelatedly/statement timeout) in staging: gitlab-com/gl-infra/production#4485 (closed)
bundler: failed to load command: rake (/opt/gitlab/embedded/bin/rake)
PgQuery::ParseError: syntax error at or near "INCLUDE" (scan.l:1162)
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/error_tracking.rb:145:in `normalize'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/error_tracking.rb:145:in `inject_context_for_exception'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/error_tracking.rb:147:in `inject_context_for_exception'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/error_tracking.rb:100:in `before_send'
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/sentry-raven-3.0.4/lib/raven/client.rb:27:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/sentry-raven-3.0.4/lib/raven/client.rb:27:in `send_event'
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/sentry-raven-3.0.4/lib/raven/instance.rb:83:in `send_event'
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/sentry-raven-3.0.4/lib/raven/instance.rb:129:in `capture_type'
/opt/gitlab/embedded/lib/ruby/2.7.0/forwardable.rb:235:in `capture_exception'
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/sentry-raven-3.0.4/lib/raven/integrations/rake.rb:9:in `display_error_message'
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:195:in `rescue in standard_exception_handling'
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:185:in `standard_exception_handling'
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/application.rb:80:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
/opt/gitlab/embedded/bin/rake:23:in `load'
/opt/gitlab/embedded/bin/rake:23:in `<top (required)>'
So this is error tracking for Sentry not being able to parse this syntax.