pgsql: pg_dump: Add appropriate version check

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_dump: Add appropriate version check
Date: 2026-03-17 08:49:24
Message-ID: E1w2Q79-0008kk-1i@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_dump: Add appropriate version check

Some code added by commit 2f094e7ac69 needs to be behind a version
check so that it is not run against older databases.

Author: Andrew Dunstan <andrew(at)dunslane(dot)net>
Reviewed-by: Junwang Zhao <zhjwpku(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/afe3f099-3271-4fc4-8e32-467b5309affb%40dunslane.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/182cdf5aeaf7b34a288a135d66f2893dc288a24e

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2026-03-17 09:52:49 pgsql: Don't leave behind files in src dir in 007_multixact_conversion.
Previous Message Michael Paquier 2026-03-17 08:40:27 pgsql: gen_guc_tables.pl: Improve detection of inconsistent data