]> granicus.if.org Git - postgresql/commit
Add test case for ON DELETE NO ACTION/RESTRICT
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 16 Jan 2019 15:52:07 +0000 (16:52 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 16 Jan 2019 15:56:18 +0000 (16:56 +0100)
commit74bd06648b720bb48f50bd32848f2f3cf2deb1f6
tree989883ae937225e7558ccdddce92348adb15bfb5
parent90525d7b4e0fe5ebd53960cd7ef59ee11ff06516
Add test case for ON DELETE NO ACTION/RESTRICT

This was previously not covered at all; function
RI_FKey_restrict_del() was not exercised in the tests.

Reviewed-by: Alvaro Herrera <alvherre@2ndquadrant.com>
Reviewed-by: Mi Tar <mmitar@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/7ae17c95-0c99-d420-032a-c271f510112b@2ndquadrant.com/
src/test/regress/expected/foreign_key.out
src/test/regress/sql/foreign_key.sql