pgsql: Arrange for PreventTransactionChain to reject commands submitted

Lists: pgsql-committers
From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Arrange for PreventTransactionChain to reject commands submitted
Date: 2007-03-22 19:55:05
Message-ID: 20070322195505.0A5C99FBB0E@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Log Message:
-----------
Arrange for PreventTransactionChain to reject commands submitted as part
of a multi-statement simple-Query message. This bug goes all the way
back, but unfortunately is not nearly so easy to fix in existing releases;
it is only the recent ProcessUtility API change that makes it fixable in
HEAD. Per report from William Garrison.

Modified Files:
--------------
pgsql/src/backend/access/transam:
xact.c (r1.237 -> r1.238)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c.diff?r1=1.237&r2=1.238)
pgsql/src/backend/tcop:
postgres.c (r1.528 -> r1.529)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.528&r2=1.529)