feat(db): use POSTGRES_USER in pg_backup; document it in release note

- pg_backup.sh: use the db service's POSTGRES_USER (default postgres) for the
  dump/drop/recreate instead of detecting the superuser at runtime, since the
  recipe now sets that env var; one-line the constants comment
- release note: explain the in-place pg_upgrade + the POSTGRES_USER override
- bump PG_BACKUP_VERSION v4

Verified on cctest: backup + restore via the hooks round-trips with POSTGRES_USER.
This commit is contained in:
notplants
2026-06-22 18:46:17 +00:00
committed by notplants
parent a081d1dba0
commit a5a3b36755
3 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,4 @@
export PG_BACKUP_VERSION=v3
export PG_BACKUP_VERSION=v4
export APP_ENTRYPOINT_VERSION=v2
export APP_INSTALL_SSL_VERSION=v1
export APP_MIGRATE_UPLOADS_VERSION=v1