-
-
Notifications
You must be signed in to change notification settings - Fork 211
Revert "refactor(postgresq): switch to 'include_dir' and then rename conf files to ensure ordering" #1835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… conf fi…" This reverts commit 0987406.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR reverts a previous change that switched PostgreSQL configuration files to use include_dir with numbered prefixes for file ordering. The revert restores the previous approach of using explicit include statements for individual configuration files without numerical prefixes.
- Removes the
include_dirapproach and returns to explicitincludestatements in postgresql.conf - Removes numerical prefixes from configuration file names (e.g.,
05-supautils.conf→supautils.conf) - Consolidates auto_explain and pg_cron settings directly into the main postgresql.conf file
Reviewed Changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| nix/tools/run-server.sh.in | Reverts Nix build script to use individual config files without numbered prefixes |
| nix/packages/lib.nix | Updates Nix package configuration to remove references to deleted config files |
| ansible/tasks/*.yml | Updates Ansible tasks to use config files without numerical prefixes |
| ansible/files/postgresql_config/postgresql.conf.j2 | Adds explicit include statements and moves auto_explain/pg_cron settings inline |
| ansible/files/postgresql_config/*.conf | Removes separate auto_explain and pg_cron config files |
| Dockerfile-* | Updates Docker builds to use config files without numerical prefixes |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
* origin/develop: fix(nix): remove '%' character from Nix trusted-public-keys configuration (#1840) chore: systemd hardening (#1837) Revert "refactor(postgresq): switch to 'include_dir' and then rename conf files to ensure ordering" (#1835) refactor(ansible): bring our ansible up to modern ansible-lint standards (#1821) fix(pgmq): replace drop_queue function if exists (#1828) refactor(postgresq): switch to 'include_dir' and then renames conf files to ensure ordering (#1820) feat: support multiple versions of the pg_jsonschema extension (#1757) feat: bump auth to v2.180.0 (#1829) feat: update supautils confs w/ new tables feat(migrations): predefined role grants (#1815) feat: run pg_regress tests after installing the last version of the extension (#1826) fix(pgmq): add missing helper function in migration script (#1825) feat: support multiple versions of the pgmq extension (#1668) feat: run pg_regress during extension tests (#1812) feat: support multiple versions of the pgrouting extension (#1687) refactor(ansible): bring our ansible up to modern ansible-lint standards (#1819) feat: support multiple versions of the pg-graphql extension (#1761)
Reverts #1820
Likely this change will also need the following
reverting to unblock and will follow up to see if we can apply the above fix and get better config testing coverage too