Revert Gitaly valid_primaries AS MATERIALIZED change
What does this MR do and why?
Fix gitlab-com/gl-infra/production#5945 (closed)
This MR essentially revert back Gitaly to be before gitaly!4091 (merged) which introduced AS MATERIALIZED
query, not supported in Postgresql 11 (which we use).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mark Chao