pgsql: Prevent instability in contrib/pageinspect's regression test.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Prevent instability in contrib/pageinspect's regression test.
Дата
Msg-id E1ox94b-000EHy-00@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5cda142bb9d2bd7e7ed1c22ae89afe58abfa8d7b

Modified Files
--------------
contrib/pageinspect/expected/page.out | 3 ++-
contrib/pageinspect/sql/page.sql      | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Replace SQLValueFunction by COERCE_SQL_SYNTAX
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Provide options for postmaster to kill child processes with SIGA