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