pgsql: Further tweaking of pg_dump's handling of default_toast_compress

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Further tweaking of pg_dump's handling of default_toast_compress
Date: 2021-03-30 14:58:05
Message-ID: E1lRFoj-00017C-QY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2021-03-30 16:54:30 pgsql: Use a WaitLatch for vacuum/autovacuum sleeping
Previous Message David Rowley 2021-03-30 07:53:50 pgsql: Allow estimate_num_groups() to pass back further details about t