Re: Test-cases for deferred constraints in plpgsql_transaction.sql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Test-cases for deferred constraints in plpgsql_transaction.sql
Date
Msg-id 63505.1530538663@sss.pgh.pa.us
Whole thread Raw
In response to Re: Test-cases for deferred constraints in plpgsql_transaction.sql  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Responses Re: Test-cases for deferred constraints in plpgsql_transaction.sql  (Ashutosh Sharma <ashu.coek88@gmail.com>)
List pgsql-hackers
Ashutosh Sharma <ashu.coek88@gmail.com> writes:
> On Mon, Jul 2, 2018 at 3:30 PM, Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com> wrote:
>> I won't say we don't need more tests, but I don't see a particular
>> testing gap in this area.

> I am not saying that the existing test-case is not enough to test
> deferred constraints but, it would have been good to add test-cases
> having ROLLBACK statements with deferred constraints as well.

What exactly would that test, other than that ROLLBACK discards changes?
Which is a point that seems to me to be pretty well covered already.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Should contrib modules install .h files?
Next
From: Michael Paquier
Date:
Subject: Re: PANIC during crash recovery of a recently promoted standby