mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 00:06:52 +02:00
be753639d3
Attempting to use this function with a raw page not coming from a GiST
index would cause a crash, as it was missing the same sanity checks as
gist_page_items_bytea(). This slightly refactors the code so as all the
basic validation checks for GiST pages are done in a single routine,
in the same fashion as the pageinspect functions for hash and BRIN.
This fixes an issue similar to
|
||
---|---|---|
.. | ||
brin.sql | ||
btree.sql | ||
checksum.sql | ||
gin.sql | ||
gist.sql | ||
hash.sql | ||
oldextversions.sql | ||
page.sql |