Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,10 @@ $(cat /etc/postgresql/pg_hba.conf)" >/etc/postgresql/pg_hba.conf
sed -i '/^db_user_namespace/d' "$TMP_CONFIG"
fi

# The site profile link (/nix/var/nix/profiles/site/lib/postgresql) holds extensions (supautils) built for the old major version, which the new cluster can't load.
# Without this config both clusters load the copies bundled with their own postgres package from $libdir.
sed -i '/^dynamic_library_path/d' "$TMP_CONFIG"

chown postgres:postgres "$TMP_CONFIG"

UPGRADE_COMMAND=$(
Expand Down
6 changes: 3 additions & 3 deletions ansible/postgres_release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
postgres_release:
postgresorioledb-17: "17.11.0.008-orioledb"
postgres17: "17.11.0.008"
postgres15: "15.19.0.008"
postgresorioledb-17: "17.11.0.011-orioledb"
postgres17: "17.11.0.011"
postgres15: "15.19.0.011"
1 change: 1 addition & 0 deletions nix/packages/postgres.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
../ext/hypopg.nix
../ext/pg_tle.nix
../ext/wrappers/default.nix
# Remove only after initiate.sh and existing hosts use the site profile.
../ext/supautils.nix
../ext/plv8
];
Expand Down
Loading