diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-12-19 18:19:21 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-12-19 18:19:21 +0900 |
commit | f610d4f119b5761475dff65266ec29c8e9cae509 (patch) | |
tree | 76796522af10f57e389e1ca0dd8de6401b8a476d /src/backend/executor/nodeHash.c | |
parent | bd2d3c92812f617ebc9b826484fb0d0345571d17 (diff) | |
download | postgresql-f610d4f119b5761475dff65266ec29c8e9cae509.tar.gz postgresql-f610d4f119b5761475dff65266ec29c8e9cae509.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/executor/nodeHash.c')
0 files changed, 0 insertions, 0 deletions