aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgutils.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-12-19 18:19:18 +0900
committerMichael Paquier <michael@paquier.xyz>2023-12-19 18:19:18 +0900
commitbfbe4a146e37dd57bcd6eb3d7abfa6d6668da4f9 (patch)
treefc203b3b37ee4a7e4b58d96c1f6e1aae25137c22 /src/backend/access/spgist/spgutils.c
parentf729fdab450f3429530e7566d50bd0fcf8343966 (diff)
downloadpostgresql-bfbe4a146e37dd57bcd6eb3d7abfa6d6668da4f9.tar.gz
postgresql-bfbe4a146e37dd57bcd6eb3d7abfa6d6668da4f9.zip
pageinspect: Fix failure with hash_bitmap_info() for partitioned indexes
This function reads directly a page from a relation, relying on index_open() to open the index to read from. Unfortunately, this would crash when using partitioned indexes, as these can be opened with index_open() but they have no physical pages. Alexander has fixed the module, while I have written the test. Author: Alexander Lakhin, Michael Paquier Discussion: https://postgr.es/m/18246-f4d9ff7cb3af77e6@postgresql.org Backpatch-through: 12
Diffstat (limited to 'src/backend/access/spgist/spgutils.c')
0 files changed, 0 insertions, 0 deletions