Skip to content

Workaround PGQuery.parse segfault again

What does this MR do and why?

This was causing segfault problems again #342857 (closed) . We have taken the same approach that was taken in https://gitlab.com/gitlab-org/gitlab/-/blob/3b3dce4acc82e58fef7d2eccc80236061348c5a4/spec/support/database/prevent_cross_joins.rb#L39

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #342857 (closed)

Edited by Adam Hegyi

Merge request reports