diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-12-19 18:19:16 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-12-19 18:19:16 +0900 |
commit | 2e08440d61ea1a783d98c05a834bb52736de5dd9 (patch) | |
tree | 4cd5187ae650bf7839d99e09835abbc38278cb3e /src | |
parent | b745f168042e253e92a71bb4d4554789d72c21c5 (diff) | |
download | postgresql-2e08440d61ea1a783d98c05a834bb52736de5dd9.tar.gz postgresql-2e08440d61ea1a783d98c05a834bb52736de5dd9.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')
0 files changed, 0 insertions, 0 deletions