mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 12:16:50 +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.out | ||
btree.out | ||
checksum_1.out | ||
checksum.out | ||
gin.out | ||
gist.out | ||
hash.out | ||
oldextversions.out | ||
page.out |