mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-22 00:03:23 +02:00
Redefine '\0' (InvalidCompressionMethod) as meaning "if we need to compress, use the current setting of default_toast_compression". This allows '\0' to be a suitable default choice regardless of datatype, greatly simplifying code paths that initialize tupledescs and the like. It seems like a more user-friendly approach as well, because now the default compression choice doesn't migrate into table definitions, meaning that changing default_toast_compression is usually sufficient to flip an installation's behavior; one needn't tediously issue per-column ALTER SET COMPRESSION commands. Along the way, fix a few minor bugs and documentation issues with the per-column-compression feature. Adopt more robust APIs for SetIndexStorageProperties and GetAttributeCompression. Bump catversion because typical contents of attcompression will now be different. We could get away without doing that, but it seems better to ensure v14 installations all agree on this. (We already forced initdb for beta2, anyway.) Discussion: https://postgr.es/m/626613.1621787110@sss.pgh.pa.us |
||
---|---|---|
.. | ||
po | ||
t | ||
.gitignore | ||
command.c | ||
command.h | ||
common.c | ||
common.h | ||
copy.c | ||
copy.h | ||
create_help.pl | ||
crosstabview.c | ||
crosstabview.h | ||
describe.c | ||
describe.h | ||
help.c | ||
help.h | ||
input.c | ||
input.h | ||
large_obj.c | ||
large_obj.h | ||
mainloop.c | ||
mainloop.h | ||
Makefile | ||
nls.mk | ||
prompt.c | ||
prompt.h | ||
psqlrc.sample | ||
psqlscanslash.h | ||
psqlscanslash.l | ||
settings.h | ||
startup.c | ||
stringutils.c | ||
stringutils.h | ||
tab-complete.c | ||
tab-complete.h | ||
variables.c | ||
variables.h |