Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2021-08-26 06:48:07 +0000
committerPeter Eisentraut2021-08-26 06:59:32 +0000
commit0d906b2c0b1f0d625ff63d9ace906556b1c66a68 (patch)
treedb4ea09b7c13696b69d0624d466d58d9f55ce44e /src/backend/regex
parent78ab944cd4b9977732becd9d0bc83223b88af9a2 (diff)
Fix handling of partitioned index in RelationGetNumberOfBlocksInFork()
Since a partitioned index doesn't have storage, getting the number of blocks from it will not give sensible results. Existing callers already check that they don't call it that way, so there doesn't appear to be a live problem. But for correctness, handle RELKIND_PARTITIONED_INDEX together with the other non-storage relkinds. Reviewed-by: Michael Paquier <michael@paquier.xyz> Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org> Discussion: https://www.postgresql.org/message-id/1d3a5fbe-f48b-8bea-80da-9a5c4244aef9@enterprisedb.com
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions