postgresql-common: use latest version of pg_dump/restore

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: pgsql-pkg-debian(at)postgresql(dot)org
Subject: postgresql-common: use latest version of pg_dump/restore
Date: 2023-04-30 14:02:56
Message-ID: ZE51EGITODFxnZhS@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

I added dump/restore to this list locally while updating a backup script
to use -Z zstd, but it seems like this would make sense to do widely,
since pg-dump/restore support a long history of versions, beyond the 5
release/years of versions nominally supported.

/usr/share/postgresql-common/pg_wrapper

# if we have no version yet, use the latest version. If we were called
# as psql, pg_archivecleanup, or pg_isready, always use latest version
if (not $version or $cmdname =~ /^(psql|pg_archivecleanup|pg_isready|pg_dump|pg_restore)$/) {

--
Justin

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2023-04-30 19:57:19 Re: postgresql-common: use latest version of pg_dump/restore
Previous Message Don Seiler 2023-04-28 21:50:06 Ubuntu 18.04 Support