diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-03-20 15:01:10 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-03-20 15:01:10 -0400 |
commit | aa25d1089ac00bbc3f97d2efe8f54c3d4beed5d1 (patch) | |
tree | 54378ebd32a2e7d68186bc58d6edea0be6cdd12f /src/backend/access/gist/gistutil.c | |
parent | e835e89a0fd267871e7fbddc39ad00ee3d0cb55c (diff) | |
download | postgresql-aa25d1089ac00bbc3f97d2efe8f54c3d4beed5d1.tar.gz |
Fix up pg_dump's handling of per-attribute compression options.
The approach used in commit bbe0a81db would've been disastrous for
portability of dumps. Instead handle non-default compression options
in separate ALTER TABLE commands. This reduces chatter for the
common case where most columns are compressed the same way, and it
makes it possible to restore the dump to a server that lacks any
knowledge of per-attribute compression options (so long as you're
willing to ignore syntax errors from the ALTER TABLE commands).
There's a whole lot left to do to mop up after bbe0a81db, but
I'm fast-tracking this part because we need to see if it's
enough to make the buildfarm's cross-version-upgrade tests happy.
Justin Pryzby and Tom Lane
Discussion: https://postgr.es/m/20210119190720.GL8560@telsasoft.com
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions