mirror of
https://github.com/postgres/postgres.git
synced 2026-03-01 21:01:12 -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.out | ||
| btree.out | ||
| checksum.out | ||
| checksum_1.out | ||
| gin.out | ||
| gist.out | ||
| hash.out | ||
| oldextversions.out | ||
| page.out | ||