diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-21 10:50:50 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-21 10:50:50 -0500 |
commit | ff9d27ee2b8bbf15ef974732671df9df662f0cf9 (patch) | |
tree | c28255b6bf2ac1c7b420301eee5c641e15f9e473 /src/backend/executor/nodeModifyTable.c | |
parent | a0d35ebcc570265405a293e509dccbdf0fd5ee45 (diff) | |
download | postgresql-ff9d27ee2b8bbf15ef974732671df9df662f0cf9.tar.gz postgresql-ff9d27ee2b8bbf15ef974732671df9df662f0cf9.zip |
Prevent instability in contrib/pageinspect's regression test.
pageinspect has occasionally failed on slow buildfarm members,
with symptoms indicating that the expected effects of VACUUM
FREEZE didn't happen. This is presumably because a background
transaction such as auto-analyze was holding back global xmin.
We can work around that by using a temp table in the test.
Since commit a7212be8b, that will use an up-to-date cutoff xmin
regardless of other processes. And pageinspect itself shouldn't
really care whether the table is temp.
Back-patch to v14. There would be no point in older branches
without back-patching a7212be8b, which seems like more trouble
than the problem is worth.
Discussion: https://postgr.es/m/2892135.1668976646@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions