Skip to content

Commit cea19a3

Browse files
committed
chore(nix): Upgrade postgresql@17
1 parent ab8f29f commit cea19a3

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docker-compose.example.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: cardano-db-sync
44

55
services:
66
postgres:
7-
image: postgres:14.10-alpine
7+
image: postgres:17.2-alpine
88
environment:
99
- POSTGRES_LOGGING=true
1010
- POSTGRES_DB=cexplorer

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "3.9"
33

44
services:
55
postgres:
6-
image: postgres:14.10-alpine
6+
image: postgres:17.2-alpine
77
environment:
88
- POSTGRES_LOGGING=true
99
- POSTGRES_DB_FILE=/run/secrets/postgres_db

docker-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.5"
22

33
services:
44
postgres:
5-
image: postgres:14.10-alpine
5+
image: postgres:17.2-alpine
66
environment:
77
- POSTGRES_LOGGING=true
88
- POSTGRES_DB_FILE=/run/secrets/postgres_db

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@
265265
# Database tests
266266
let
267267
postgresTest = {
268-
build-tools = [ pkgs.pkgsBuildHost.postgresql_14 ];
268+
build-tools = [ pkgs.pkgsBuildHost.postgresql_17 ];
269269
inherit preCheck;
270270
inherit postCheck;
271271
};

nix/docker.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
, bashInteractive, cacert, cardano-cli, cardano-db-sync, cardano-db-tool
1111
, cardano-smash-server, coreutils, curl, findutils, getconf, glibcLocales
1212
, gnused, gnutar, gzip, jq, iana-etc, iproute, iputils, lib, libidn, libpqxx
13-
, postgresql_14, socat, utillinux
13+
, postgresql_17, socat, utillinux
1414
}:
1515

1616
let
@@ -46,7 +46,7 @@ let
4646
iputils # Useful utilities for Linux networking
4747
libidn # Library for internationalized domain names
4848
libpqxx # A C++ library to access PostgreSQL databases
49-
postgresql_14 # A powerful, open source object-relational database system
49+
postgresql_17 # A powerful, open source object-relational database system
5050
socat # Utility for bidirectional data transfer
5151
utillinux # System utilities for Linux
5252
cardano-cli # tool for interacting with cardano-node

nix/nixos/tests/services-basic-test.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ with pkgs;
4747
systemd.services.cardano-db-sync.serviceConfig.SupplementaryGroups = "cardano-node";
4848
services.postgresql = {
4949
enable = true;
50-
package = postgresql_14;
50+
package = postgresql_17;
5151
enableTCPIP = false;
5252
ensureDatabases = [ "${config.services.cardano-db-sync.postgres.database}" ];
5353
initialScript = builtins.toFile "enable-pgcrypto.sql" ''

0 commit comments

Comments
 (0)