summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-11-10 14:30:10 +0900
committerMichael Paquier <michael@paquier.xyz>2025-11-10 14:30:10 +0900
commitb23fe993e13612424faaee7ed35c4b830a2c0dfc (patch)
tree878987faf766e7c8aa2ebd81883513432be34bf6 /src/backend/executor/nodeModifyTable.c
parent812367f3d48768b662e64bf2693703bbca8575d2 (diff)
Add more tests for relation statistics with rewrites
While there are many tests related to relation rewrites, nothing existed to check how the cumulative statistics behave in such cases for relations. A different patch is under discussion to move the relation statistics to be tracked on a per-relfilenode basis, so as these could be rebuilt during crash recovery. This commit gives us a way to check (and perhaps change) the existing behaviors for several rewrite scenarios, mixing transactions, sub-transactions, two-phase commit and VACUUM. Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/aQ3X20hbqoThQXgp@ip-10-97-1-34.eu-west-3.compute.internal
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions