pgsql: Add test case for ON DELETE NO ACTION/RESTRICT

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add test case for ON DELETE NO ACTION/RESTRICT
Date: 2019-01-16 16:09:37
Message-ID: E1gjnl3-0003Ca-Hl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)2ndquadrant(dot)com>
Reviewed-by: Mi Tar <mmitar(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/7ae17c95-0c99-d420-032a-c271f510112b(at)2ndquadrant(dot)com/

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/74bd06648b720bb48f50bd32848f2f3cf2deb1f6

Modified Files
--------------
src/test/regress/expected/foreign_key.out | 10 ++++++++--
src/test/regress/sql/foreign_key.sql | 6 ++++--
2 files changed, 12 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David G. Johnston 2019-01-16 16:39:57 Re: pgsql: Increase test coverage in RI_FKey_pk_upd_check_required()
Previous Message Thomas Munro 2019-01-15 21:37:35 Re: pgsql: Update ssl test certificates and keys