pgsql: Fix overly-strict sanity check in BeginInternalSubTransaction

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix overly-strict sanity check in BeginInternalSubTransaction
Date: 2007-05-30 21:02:02
Message-ID: 20070530210202.2C1799FBFCF@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix overly-strict sanity check in BeginInternalSubTransaction that made it
fail when used in a deferred trigger. Bug goes back to 8.0; no doubt the
reason it hadn't been noticed is that we've been discouraging use of
user-defined constraint triggers. Per report from Frank van Vugt.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/access/transam:
xact.c (r1.195.4.2 -> r1.195.4.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c.diff?r1=1.195.4.2&r2=1.195.4.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2007-05-30 21:09:55 Re: [COMMITTERS] pgsql: Make large sequential scans and VACUUMs work in a limited-size
Previous Message Tom Lane 2007-05-30 21:01:53 pgsql: Fix overly-strict sanity check in BeginInternalSubTransaction