diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-12-19 18:19:19 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-12-19 18:19:19 +0900 |
commit | 586c6a091f85e3ee8a2d0c6a1595593874b44ba7 (patch) | |
tree | 6b851c83eb3cf18649d6a3a3d9fc609a2648a2c3 /src/backend/executor/nodeMergejoin.c | |
parent | b4c1d255c17c2f004dcfbeeae11529271c18624c (diff) |
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/nodeMergejoin.c')
0 files changed, 0 insertions, 0 deletions