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