Update replicate-geo-database to support PostgreSQL 12
What does this MR do?
Adds support for PostgreSQL 12 in gitlab-ctl replicate-geo-database
. When PG 12 is detected, instead of creating and writing to recovery.conf
, we write the appropriate settings to postgresql.conf
and add standby.signal
.
Related issues
Checklist
See Definition of done.
-
Changelog entry created. Not applicable for Documentation changes and minor changes. -
Documentation created/updated -
Tests added -
Integration tests added to GitLab QA, if applicable -
MR targeting master
branch -
MR has a green pipeline on GitLab.com -
Equivalent MR/issue for CNG opened if applicable -
trigger-package
has a green pipeline running against latest commit
Reviewer Checklist
In addition to above, reviewer must:
-
Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks
Edited by Gabriel Mazetto