docs: Update TOAST storage docs for configurable compression.
authorRobert Haas <rhaas@postgresql.org>
Tue, 13 Apr 2021 18:56:12 +0000 (14:56 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 13 Apr 2021 19:13:26 +0000 (15:13 -0400)
commite8c435a824e123f43067ce6f69d66f14cfb8815e
tree955447c7027862dffdb680c5c9b0a49caca17c98
parent69d5ca484b69771073380e234e5377b6d6a5ebaf
docs: Update TOAST storage docs for configurable compression.

Mention that there are multiple TOAST compression methods and that the
compression method used is stored in a TOAST pointer along with the
other information that was stored there previously. Add a reference to
the documentation for default_toast_compression, where the supported
methods are listed, instead of duplicating that here.

I haven't tried to preserve the text claiming that pglz is "fairly
simple and very fast." I have no view on the veracity of the former
claim, but LZ4 seems to be faster (and to compress better) so it
seems better not to muddy the waters by talking about compression
speed as a strong point of PGLZ.

Patch by me, reviewed by Justin Pryzby.

Discussion: http://postgr.es/m/CA+Tgmoaw_YBwQhOS_hhEPPwFhfAnu+VCLs18EfGr9gQw1z4H-w@mail.gmail.com
doc/src/sgml/storage.sgml