Skip to content

Commit daf2563

Browse files
committed
Refs to pg14
1 parent fa57071 commit daf2563

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

snap/hooks/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ chown -R 584788:root $SNAP_DATA/*
1616
export LOCPATH="${SNAP}"/usr/lib/locale
1717
export PGDATA=$SNAP_COMMON/pgsql/data
1818

19-
"${SNAP}/usr/bin/setpriv" --clear-groups --reuid snap_daemon --regid snap_daemon -- "${SNAP}/usr/lib/postgresql/14/bin/initdb" -U postgres -D "${PGDATA}"
19+
"${SNAP}/usr/bin/setpriv" --clear-groups --reuid snap_daemon --regid snap_daemon -- "${SNAP}/usr/lib/postgresql/16/bin/initdb" -U postgres -D "${PGDATA}"

snap/local/start-postgresql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
export LOCPATH="${SNAP}"/usr/lib/locale
55
export PGDATA=${SNAP_COMMON}/pgsql/data
66

7-
"${SNAP}/usr/bin/setpriv" --clear-groups --reuid snap_daemon --regid snap_daemon -- "${SNAP}/usr/lib/postgresql/14/bin/postgres" -k /tmp -D "${PGDATA}"
7+
"${SNAP}/usr/bin/setpriv" --clear-groups --reuid snap_daemon --regid snap_daemon -- "${SNAP}/usr/lib/postgresql/16/bin/postgres" -k /tmp -D "${PGDATA}"

snap/snapcraft.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ layout:
4040
bind: $SNAP/usr/share/perl
4141
/usr/local/lib/site_perl:
4242
bind: $SNAP/usr/local/lib/site_perl
43-
/usr/lib/postgresql/14:
44-
bind: $SNAP/usr/lib/postgresql/14
43+
/usr/lib/postgresql/16:
44+
bind: $SNAP/usr/lib/postgresql/16
4545
/var/cache/postgresql:
4646
bind: $SNAP_COMMON/var/cache/postgresql
4747

@@ -94,7 +94,7 @@ apps:
9494
pg-conftool:
9595
command: usr/bin/pg_conftool
9696
pg-ctl:
97-
command: usr/lib/postgresql/14/bin/pg_ctl
97+
command: usr/lib/postgresql/16/bin/pg_ctl
9898
pg-ctlcluster:
9999
command: usr/bin/pg_ctlcluster
100100
pg-dumpall:

0 commit comments

Comments
 (0)