From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Back-patch the 8.3 fix that prohibits TRUNCATE, CLUSTER, and |
Date: | 2008-05-27 21:14:01 |
Message-ID: | 20080527211401.089FE754C55@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Back-patch the 8.3 fix that prohibits TRUNCATE, CLUSTER, and REINDEX when the
current transaction has any open references to the target relation or index
(implying it has an active query using the relation). Also back-patch the
8.2 fix that prohibits TRUNCATE and CLUSTER when there are pending
AFTER-trigger events. Per suggestion from Heikki.
Tags:
----
REL7_4_STABLE
Modified Files:
--------------
pgsql/src/backend/catalog:
index.c (r1.219.2.3 -> r1.219.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/index.c?r1=1.219.2.3&r2=1.219.2.4)
pgsql/src/backend/commands:
cluster.c (r1.116.2.3 -> r1.116.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/cluster.c?r1=1.116.2.3&r2=1.116.2.4)
tablecmds.c (r1.91.2.3 -> r1.91.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c?r1=1.91.2.3&r2=1.91.2.4)
trigger.c (r1.159.2.2 -> r1.159.2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/trigger.c?r1=1.159.2.2&r2=1.159.2.3)
pgsql/src/include/commands:
tablecmds.h (r1.13 -> r1.13.4.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/tablecmds.h?r1=1.13&r2=1.13.4.1)
trigger.h (r1.44 -> r1.44.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/trigger.h?r1=1.44&r2=1.44.2.1)
From | Date | Subject | |
---|---|---|---|
Next Message | User Gleu | 2008-05-27 21:17:11 | pgsnap - pgsnap: Add GEQO in "Installed Products" report. |
Previous Message | Tom Lane | 2008-05-27 21:13:51 | pgsql: Back-patch the 8.3 fix that prohibits TRUNCATE, CLUSTER, and |