mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-23 12:10:41 +02:00
As gist__int_ops stands in intarray, it is possible to store GiST entries for leaf pages that can cause corruptions when decompressed. Leaf nodes are stored as decompressed all the time by the compression method, and the decompression method should map with that, retrieving the contents of the page without doing any decompression. However, the code authorized the insertion of leaf page data with a higher number of array items than what can be supported, generating a NOTICE message to inform about this matter (199 for a 8k page, for reference). When calling the decompression method, a decompression would be attempted on this leaf node item but the contents should be retrieved as they are. The NOTICE message generated when dealing with the compression of a leaf page and too many elements in the input array for gist__int_ops has been introduced by |
||
---|---|---|
.. | ||
bench | ||
data | ||
expected | ||
sql | ||
_int_bool.c | ||
_int_gin.c | ||
_int_gist.c | ||
_int_op.c | ||
_int_selfuncs.c | ||
_int_tool.c | ||
_int.h | ||
_intbig_gist.c | ||
.gitignore | ||
intarray--1.0--1.1.sql | ||
intarray--1.1--1.2.sql | ||
intarray--1.2--1.3.sql | ||
intarray--1.2.sql | ||
intarray--1.3--1.4.sql | ||
intarray--1.4--1.5.sql | ||
intarray.control | ||
Makefile | ||
meson.build |