Test-cases for deferred constraints in plpgsql_transaction.sql

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Subject: Test-cases for deferred constraints in plpgsql_transaction.sql
Date: 2018-07-02 09:46:21
Message-ID: CAE9k0P=JgjizW-SEeW=c9S_raDY_JnSj5YEXfoXjHTtZJuMJoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi All,

Currently, I could see only one test-case for deferred constraints in
plpgsql_transaction.sql file which tests if the constraint checking is
happening during commit time or not with the help of COMMIT statement.
Shouldn't we add some more test-cases to test ROLLBACK and SET
CONSTRAINTS statements with deferrable constraints inside DO blocks.
Please let me know your opinion on this. Thanks.

--
With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2018-07-02 09:46:35 Re: Expression errors with "FOR UPDATE" and postgres_fdw with partition wise join enabled.
Previous Message Kyotaro HORIGUCHI 2018-07-02 09:39:05 How to find the base version cf-bot is using?