Обсуждение: pgsql: Further tweaking of pg_dump's handling of default_toast_compress

Поиск
Список
Период
Сортировка

pgsql: Further tweaking of pg_dump's handling of default_toast_compress

От
Tom Lane
Дата:
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(-)