Skip to content
代码片段 群组 项目
未验证 提交 93a80b7f 编辑于 作者: Heinrich Lee Yu's avatar Heinrich Lee Yu
浏览文件

Fix issuable search optimization in PG12

Uses a materialized CTE so that our optimization fence actually works.

Recursive CTEs are materialized by default in PG12 but we're not using
this recursively here so we use Gitlab::SQL::CTE which handles adding of
the MATERIALIZED keyword when needed.

Changelog: fixed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61880
上级 45cf5194
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册