summaryrefslogtreecommitdiff
path: root/contrib/dbmirror
diff options
context:
space:
mode:
authorMichael Paquier2026-01-16 06:24:59 +0000
committerMichael Paquier2026-01-16 06:24:59 +0000
commit395b73c045e02bbe5a33c10f57f528a4468a56f4 (patch)
tree195a1304fbada1eaddde740925b5db7c5a0474a3 /contrib/dbmirror
parent889676a0d553974d8f46816844e80e5c9deacd0e (diff)
Improve pg_clear_extended_stats() with incorrect relation/stats combinationHEADmaster
Issue fat-fingered in d756fa1019ff, noticed while doing more review of the main patch set proposed. I have missed the fact that this can be triggered by specifying an extended stats object that does not match with the relation specified and already locked. Like the cases where an object defined in input is missing, the code is changed to issue a WARNING instead of a confusing cache lookup failure. A regression test is added to cover this case. Discussion: https://postgr.es/m/CADkLM=dpz3KFnqP-dgJ-zvRvtjsa8UZv8wDAQdqho=qN3kX0Zg@mail.gmail.com
Diffstat (limited to 'contrib/dbmirror')
0 files changed, 0 insertions, 0 deletions