Skip to content

Conversation

@hunleyd
Copy link
Contributor

@hunleyd hunleyd commented Dec 2, 2025

depends on #1961

The read-replica.conf file has been moved from /etc/postgresql-custom/ to /etc/postgresql-custom/conf.d/. This change aligns with the standard practice of including configuration snippets from a conf.d directory.

Changes include:

  • Dockerfiles: Adjusted to remove direct copy and update sed commands.
  • Ansible: Renamed configuration file and updated task to place it in conf.d.
  • Nix: Updated paths and substitutions to reflect the new location.
Screenshot 2025-12-02 at 13 35 27 Screenshot 2025-12-02 at 13 35 37

The `read-replica.conf` file has been moved from `/etc/postgresql-custom/` to `/etc/postgresql-custom/conf.d/`. This change aligns with the standard practice of including configuration snippets from a `conf.d` directory.

Changes include:
- Dockerfiles: Adjusted to remove direct copy and update `sed` commands.
- Ansible: Renamed configuration file and updated task to place it in `conf.d`.
- Nix: Updated paths and substitutions to reflect the new location.
@hunleyd hunleyd marked this pull request as ready for review December 3, 2025 13:37
@hunleyd hunleyd requested review from a team as code owners December 3, 2025 13:37
Updates the following versions for improved security and stability:
- PostgreSQL 17 (orioledb-17) to 17.6.0.015
- PostgreSQL 17 to 17.6.1.058
- PostgreSQL 15 to 15.14.1.058

Also updates the checksum for Pgbouncer 1.19.0.
…-260

* 'INDATA-260' of github.com:supabase/postgres:
  chore: [ansible/vars] bumping admin-api version (#1960)
  fix: reserve the port for postgres_exporter with sysctl (#1953)
  chore: Update PostgREST setup and versions (#1955)
  Bump PostgREST to 14.1 (#1909)
* origin/develop:
  chore: prevent loopback ssh connections (#1959)
  chore: rename infra repo (#1958)
* origin:
  feat: Ensure postgres conf.d directory is set up (#1961)
  Multi version ext/pg partman (#1854)
…-260

* 'INDATA-260' of github.com:supabase/postgres:
hunleyd added a commit that referenced this pull request Dec 5, 2025
depends on #1956

- WAL-G configuration is now managed by placing `wal-g.conf` in `/etc/postgresql-custom/conf.d/`.
- This aligns with PostgreSQL's standard practice of including configuration files from `conf.d` subdirectories.
- Direct inclusion of `wal-g.conf` in `postgresql.conf` has been removed.
- PostgreSQL `archive_mode` is now explicitly set to `on` with a no-op `archive_command` in `postgresql.conf.j2`.
@hunleyd hunleyd added this pull request to the merge queue Dec 8, 2025
@hunleyd hunleyd removed this pull request from the merge queue due to a manual request Dec 8, 2025
@hunleyd hunleyd enabled auto-merge December 8, 2025 17:35
@hunleyd hunleyd added this pull request to the merge queue Dec 8, 2025
Merged via the queue into develop with commit 75c71e3 Dec 8, 2025
18 checks passed
@hunleyd hunleyd deleted the INDATA-260 branch December 8, 2025 19:26
hunleyd added a commit that referenced this pull request Dec 8, 2025
* origin:
  refactor: Move read-replica.conf to conf.d (#1956)
  ci: Custom GitHub Runners for Nix Builds (#1745)
  fix: search path and migration grants (#1939)
  chore: bump admin api version (#1964)
hunleyd added a commit that referenced this pull request Dec 8, 2025
* origin:
  refactor: Move read-replica.conf to conf.d (#1956)
  ci: Custom GitHub Runners for Nix Builds (#1745)
  fix: search path and migration grants (#1939)
  chore: bump admin api version (#1964)
github-merge-queue bot pushed a commit that referenced this pull request Dec 9, 2025
* refactor: Move read-replica.conf to conf.d

The `read-replica.conf` file has been moved from `/etc/postgresql-custom/` to `/etc/postgresql-custom/conf.d/`. This change aligns with the standard practice of including configuration snippets from a `conf.d` directory.

Changes include:
- Dockerfiles: Adjusted to remove direct copy and update `sed` commands.
- Ansible: Renamed configuration file and updated task to place it in `conf.d`.
- Nix: Updated paths and substitutions to reflect the new location.

* chore: Update postgres and pgbouncer versions

Updates the following versions for improved security and stability:
- PostgreSQL 17 (orioledb-17) to 17.6.0.015
- PostgreSQL 17 to 17.6.1.058
- PostgreSQL 15 to 15.14.1.058

Also updates the checksum for Pgbouncer 1.19.0.

* refactor: Standardize WAL-G config inclusion

depends on #1956

- WAL-G configuration is now managed by placing `wal-g.conf` in `/etc/postgresql-custom/conf.d/`.
- This aligns with PostgreSQL's standard practice of including configuration files from `conf.d` subdirectories.
- Direct inclusion of `wal-g.conf` in `postgresql.conf` has been removed.
- PostgreSQL `archive_mode` is now explicitly set to `on` with a no-op `archive_command` in `postgresql.conf.j2`.
yvan-sraka pushed a commit that referenced this pull request Dec 9, 2025
* refactor: Move read-replica.conf to conf.d

The `read-replica.conf` file has been moved from `/etc/postgresql-custom/` to `/etc/postgresql-custom/conf.d/`. This change aligns with the standard practice of including configuration snippets from a `conf.d` directory.

Changes include:
- Dockerfiles: Adjusted to remove direct copy and update `sed` commands.
- Ansible: Renamed configuration file and updated task to place it in `conf.d`.
- Nix: Updated paths and substitutions to reflect the new location.

* chore: Update postgres and pgbouncer versions

Updates the following versions for improved security and stability:
- PostgreSQL 17 (orioledb-17) to 17.6.0.015
- PostgreSQL 17 to 17.6.1.058
- PostgreSQL 15 to 15.14.1.058

Also updates the checksum for Pgbouncer 1.19.0.

* refactor: Standardize WAL-G config inclusion

depends on #1956

- WAL-G configuration is now managed by placing `wal-g.conf` in `/etc/postgresql-custom/conf.d/`.
- This aligns with PostgreSQL's standard practice of including configuration files from `conf.d` subdirectories.
- Direct inclusion of `wal-g.conf` in `postgresql.conf` has been removed.
- PostgreSQL `archive_mode` is now explicitly set to `on` with a no-op `archive_command` in `postgresql.conf.j2`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants