aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
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:42 -0800
commit86a5b309c9330661fd2c4c46e4dc7f07cca139e1 (patch)
tree0c4352cf050d719a723b619049aebaecbae84f18 /src/tutorial/advanced.source
parent2a01bc275be1a7d117944b1a58ea1fe5f6c377c6 (diff)
downloadpostgresql-86a5b309c9330661fd2c4c46e4dc7f07cca139e1.tar.gz
postgresql-86a5b309c9330661fd2c4c46e4dc7f07cca139e1.zip
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/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions