mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-22 21:59:59 +00:00
Check if relation has storage in calculate_relation_size (#10477)
## Problem Parent of partitioned table has no storage, it relfilelocator is zero. It cab be incorrectly hashed and produce wrong results. See https://github.com/neondatabase/postgres/pull/518 ## Summary of changes This problem is already addressed in pg17. Add the same check for all other PG versions. Postgres PRs: https://github.com/neondatabase/postgres/pull/566 https://github.com/neondatabase/postgres/pull/565 https://github.com/neondatabase/postgres/pull/564 Co-authored-by: Konstantin Knizhnik <knizhnik@neon.tech>
This commit is contained in:
committed by
GitHub
parent
dcc437da1d
commit
d8ab6ddb0f
2
vendor/postgres-v14
vendored
2
vendor/postgres-v14
vendored
Submodule vendor/postgres-v14 updated: 5f3b3afdd7...c0aedfd3ca
2
vendor/postgres-v15
vendored
2
vendor/postgres-v15
vendored
Submodule vendor/postgres-v15 updated: 935292e883...355a7c69d3
2
vendor/postgres-v16
vendored
2
vendor/postgres-v16
vendored
Submodule vendor/postgres-v16 updated: 061d563779...3cf7ce1afa
6
vendor/revisions.json
vendored
6
vendor/revisions.json
vendored
@@ -5,14 +5,14 @@
|
||||
],
|
||||
"v16": [
|
||||
"16.6",
|
||||
"061d56377961ba56998e41b7d5d5e975919ad301"
|
||||
"3cf7ce1afab75027716d14223f95ddb300754162"
|
||||
],
|
||||
"v15": [
|
||||
"15.10",
|
||||
"935292e883298187f112db6e9c7f765037ddcf64"
|
||||
"355a7c69d3f907f3612eb406cc7b9c2f55d59b59"
|
||||
],
|
||||
"v14": [
|
||||
"14.15",
|
||||
"5f3b3afdd7c24b4a0fd63ecb3288fab472fcc633"
|
||||
"c0aedfd3cac447510a2db843b561f0c52901b679"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user