colony-psql: Upgrade PostgreSQL to 18

Return the container to `mine` with PostgreSQL 18. The live cluster
was migrated from 14 with `pg_upgrade --link` before this config
first started. The new cluster was initialized with
`-E UTF8 --locale=en_US.UTF-8 --no-data-checksums` to match the old
one, and every B-tree index on a `character(n)` column was reindexed
afterwards because `amcheck` rejected their 14-built deduplication
flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jackos1998andClaude Opus 5.5 committed 2026-11-22 15:11:44 +00:00
1 parent 31b5e3b608
commit 288d68b954
2 files changed
+4 -5

No files matched your search

@@ -6,8 +6,7 @@ in
{
nixos.systems.colony-psql = { config, ... }: {
system = "x86_64-linux";
# TODO: Migrate PostgreSQL 14 to a supported major release, then return to mine.
nixpkgs = "mine-stable";
nixpkgs = "mine";
rendered = config.configuration.config.my.asContainer;
assignments = {
@@ -64,7 +63,7 @@ in
};
postgresql = {
package = pkgs.postgresql_14;
package = pkgs.postgresql_18;
enable = true;
enableTCPIP = true;