postgresql/src/test/isolation/expected
Alvaro Herrera 11ac4c73cb Don't ignore tuple locks propagated by our updates
If a tuple was locked by transaction A, and transaction B updated it,
the new version of the tuple created by B would be locked by A, yet
visible only to B; due to an oversight in HeapTupleSatisfiesUpdate, the
lock held by A wouldn't get checked if transaction B later deleted (or
key-updated) the new version of the tuple.  This might cause referential
integrity checks to give false positives (that is, allow deletes that
should have been rejected).

This is an easy oversight to have made, because prior to improved tuple
locks in commit 0ac5ad5134 it wasn't possible to have tuples created by
our own transaction that were also locked by remote transactions, and so
locks weren't even considered in that code path.

It is recommended that foreign keys be rechecked manually in bulk after
installing this update, in case some referenced rows are missing with
some referencing row remaining.

Per bug reported by Daniel Wood in
CAPweHKe5QQ1747X2c0tA=5zf4YnS2xcvGf13Opd-1Mq24rF1cQ@mail.gmail.com
2013-12-18 13:45:51 -03:00
..
aborted-keyrevoke.out Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
aborted-keyrevoke_2.out Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
classroom-scheduling.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
delete-abort-savept-2.out Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
delete-abort-savept.out Avoid resetting Xmax when it's a multi with an aborted update 2013-12-05 12:21:55 -03:00
drop-index-concurrently-1.out Allow drop-index-concurrently-1 test to run at any isolation level. 2013-10-08 16:55:12 -05:00
drop-index-concurrently-1_2.out Allow drop-index-concurrently-1 test to run at any isolation level. 2013-10-08 16:55:12 -05:00
eval-plan-qual.out Add simple tests of EvalPlanQual using the isolationtester infrastructure. 2012-01-28 17:55:08 -05:00
fk-contention.out Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
fk-deadlock.out Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
fk-deadlock2.out Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
fk-deadlock2_1.out Make some isolationtester specs more complete 2013-10-04 15:52:58 -03:00
fk-deadlock2_2.out Make some isolationtester specs more complete 2013-10-04 15:52:58 -03:00
fk-deadlock_1.out Make some isolationtester specs more complete 2013-10-04 15:52:58 -03:00
fk-delete-insert.out Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
index-only-scan.out Fix serializable mode with index-only scans. 2012-09-04 21:13:11 -05:00
lock-update-delete.out Make some isolationtester specs more complete 2013-10-04 15:52:58 -03:00
lock-update-delete_1.out Make some isolationtester specs more complete 2013-10-04 15:52:58 -03:00
lock-update-traversal.out Make some isolationtester specs more complete 2013-10-04 15:52:58 -03:00
multiple-row-versions.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
multixact-no-deadlock.out Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
multixact-no-forget.out Fix improper abort during update chain locking 2013-12-05 17:47:51 -03:00
multixact-no-forget_1.out Fix improper abort during update chain locking 2013-12-05 17:47:51 -03:00
partial-index.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
prepared-transactions.out Add an SSI regression test that tests all interesting permutations in the 2011-08-18 17:09:58 +03:00
project-manager.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
propagate-lock-delete.out Don't ignore tuple locks propagated by our updates 2013-12-18 13:45:51 -03:00
receipt-report.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
referential-integrity.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
ri-trigger.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
simple-write-skew.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
temporal-range-integrity.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
timeouts.out Bump up timeout delays some more in timeouts isolation test. 2013-03-20 13:53:43 -04:00
total-cash.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00
two-ids.out Strip whitespace from SQL blocks in the isolation test suite. This is purely 2011-08-18 17:09:58 +03:00