]> granicus.if.org Git - postgresql/commit
Blind attempt to fix pglz_maximum_compressed_size
authorTomas Vondra <tomas.vondra@postgresql.org>
Tue, 1 Oct 2019 14:53:04 +0000 (16:53 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Tue, 1 Oct 2019 14:53:04 +0000 (16:53 +0200)
commit540f31680913b4e11f2caa40cafeca269cfcb22f
treee9e4e2df4cc9e140cc0a9618c0d964c58fee2b35
parentfa2fe04bf1d4d31e099808745974964f84eb4521
Blind attempt to fix pglz_maximum_compressed_size

Commit 11a078cf87 triggered failures on big-endian machines, and the
only plausible place for an issue seems to be that TOAST_COMPRESS_SIZE
calls VARSIZE instead of VARSIZE_ANY. So try fixing that blindly.

Discussion: https://www.postgresql.org/message-id/20191001131803.j6uin7nho7t6vxzy%40development
src/include/access/toast_internals.h