mirror of
https://github.com/postgres/postgres.git
synced 2026-03-06 15:25:15 -05:00
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 | ||