forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0d906b2
committed
Fix handling of partitioned index in RelationGetNumberOfBlocksInFork()
Since a partitioned index doesn't have storage, getting the number ofblocks from it will not give sensible results. Existing callersalready check that they don't call it that way, so there doesn'tappear to be a live problem. But for correctness, handleRELKIND_PARTITIONED_INDEX together with the other non-storagerelkinds.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.com1 parent78ab944 commit0d906b2
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2929 | 2929 |
| |
2930 | 2930 |
| |
2931 | 2931 |
| |
2932 |
| - | |
2933 | 2932 |
| |
2934 | 2933 |
| |
2935 | 2934 |
| |
| |||
2951 | 2950 |
| |
2952 | 2951 |
| |
2953 | 2952 |
| |
| 2953 | + | |
2954 | 2954 |
| |
2955 | 2955 |
| |
2956 | 2956 |
| |
|
0 commit comments
Comments
(0)