pgsql: Further tweaking of pg_dump's handling of default_toast_compress - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Further tweaking of pg_dump's handling of default_toast_compress
Date
Msg-id E1lRFoj-00017C-QY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Further tweaking of pg_dump's handling of default_toast_compression.

As committed in bbe0a81db, pg_dump from a pre-v14 server effectively
acts as though you'd said --no-toast-compression.  I think the right
thing is for it to act as though default_toast_compression is set to
"pglz", instead, so that the tables' toast compression behavior is
preserved.  You can always get the other behavior, if you want that,
by giving the switch.

Discussion: https://postgr.es/m/1112852.1616609702@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/54bb91c30e3964fd81059e6b02e377cc9dd2d64c

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 25 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Allow estimate_num_groups() to pass back further details about t
Next
From: Stephen Frost
Date:
Subject: pgsql: Use a WaitLatch for vacuum/autovacuum sleeping