pgsql: Add test for temporal referential integrity
pgsql: Add test for temporal referential integrity
От:
Álvaro Herrera <alvherre@kurilemu.de>
Дата:
Add test for temporal referential integrity This commit adds an isolation test showing that temporal foreign keys do not permit referential integrity violations under concurrency, like fk-snapshot-2. You can show that the test fails by passing false for detectNewRows to ri_PerformCheck in ri_restrict. Author: Paul Jungwirth Reviewed-by: Rustam ALLAKOV Reviewed-by: Dean Rasheed Reviewed-by: Robert Haas Discussion: https://postgr.es/m/CA+renyUp=xja80rBaB6NpY3RRdi750y046x28bo_xg29zKY72Q@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e8cec3d1791c140398454aa561cf51659dd8243d Modified Files -------------- src/test/isolation/expected/fk-snapshot-3.out | 213 ++++++++++++++++++++++++++ src/test/isolation/isolation_schedule | 1 + src/test/isolation/specs/fk-snapshot-3.spec | 82 ++++++++++ 3 files changed, 296 insertions(+)