pgsql: Back-patch the 8.3 fix that prohibits TRUNCATE, CLUSTER, and
| От | tgl@postgresql.org (Tom Lane) |
|---|---|
| Тема | pgsql: Back-patch the 8.3 fix that prohibits TRUNCATE, CLUSTER, and |
| Дата | |
| Msg-id | 20080527211401.089FE754C55@cvs.postgresql.org обсуждение исходный текст |
| Список | 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)
В списке pgsql-committers по дате отправления: