📌 bump postgres to v14

This commit is contained in:
James Walker 2023-02-20 20:01:39 -05:00
parent 0c4ba0a464
commit 19a4053a8c
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 3C127179D6086E93

View File

@ -2,7 +2,7 @@
services = {
postgresql = {
enable = true;
package = pkgs.postgresql_12;
package = pkgs.postgresql_14;
};
postgresqlBackup = {
@ -18,10 +18,10 @@
systemctl stop postgresql
# XXX replace `<new version>` with the psqlSchema here
export NEWDATA="/var/lib/postgresql/12"
export NEWDATA="/var/lib/postgresql/14"
# XXX specify the postgresql package you'd like to upgrade to
export NEWBIN="${pkgs.postgresql_12}/bin"
export NEWBIN="${pkgs.postgresql_14}/bin"
export OLDDATA="${config.services.postgresql.dataDir}"
export OLDBIN="${config.services.postgresql.package}/bin"