summaryrefslogtreecommitdiff
path: root/src/test/isolation/README
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2021-01-30 00:00:27 -0800
committerNoah Misch <noah@leadboat.com>2021-01-30 00:00:27 -0800
commit8a54e12a38d1545d249f1402f66c8cde2837d97c (patch)
treed6b155a68f9e3dc21f1061106320c620eeaeb6ed /src/test/isolation/README
parentf77717b2985aa529a185e6988de26b885ca10ddb (diff)
downloadpostgresql-8a54e12a38d1545d249f1402f66c8cde2837d97c.tar.gz
Fix CREATE INDEX CONCURRENTLY for simultaneous prepared transactions.
In a cluster having used CREATE INDEX CONCURRENTLY while having enabled prepared transactions, queries that use the resulting index can silently fail to find rows. Fix this for future CREATE INDEX CONCURRENTLY by making it wait for prepared transactions like it waits for ordinary transactions. This expands the VirtualTransactionId structure domain to admit prepared transactions. It may be necessary to reindex to recover from past occurrences. Back-patch to 9.5 (all supported versions). Andrey Borodin, reviewed (in earlier versions) by Tom Lane and Michael Paquier. Discussion: https://postgr.es/m/2E712143-97F7-4890-B470-4A35142ABC82@yandex-team.ru
Diffstat (limited to 'src/test/isolation/README')
-rw-r--r--src/test/isolation/README6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/isolation/README b/src/test/isolation/README
index 217953d183..6ae7152325 100644
--- a/src/test/isolation/README
+++ b/src/test/isolation/README
@@ -23,9 +23,9 @@ you can do something like
./pg_isolation_regress fk-contention fk-deadlock
(look into the specs/ subdirectory to see the available tests).
-The prepared-transactions test requires the server's
-max_prepared_transactions parameter to be set to at least 3; therefore it
-is not run by default. To include it in the test run, use
+Certain tests require the server's max_prepared_transactions parameter to be
+set to at least 3; therefore they are not run by default. To include them in
+the test run, use
make check-prepared-txns
or
make installcheck-prepared-txns