Skip site navigation (1) Skip section navigation (2)

pgsql: Disallow TRUNCATE when there are any pending after-trigger events

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Disallow TRUNCATE when there are any pending after-trigger events
Date: 2006-09-04 21:15:56
Message-ID: 20060904211556.56EB99FB2E4@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Disallow TRUNCATE when there are any pending after-trigger events for
the target relation(s).  There might be some cases where we could discard
the pending event instead, but for the moment a conservative approach
seems sufficient.  Per report from Markus Schiltknecht and subsequent
discussion.

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablecmds.c (r1.201 -> r1.202)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.201&r2=1.202)
        trigger.c (r1.206 -> r1.207)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/trigger.c.diff?r1=1.206&r2=1.207)
    pgsql/src/include/commands:
        trigger.h (r1.58 -> r1.59)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/trigger.h.diff?r1=1.58&r2=1.59)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2006-09-04 21:26:17
Subject: pgsql: New Directory
Previous:From: Bruce MomjianDate: 2006-09-04 21:03:18
Subject: pgsql: Sequences were not being shown due to the use of lowercase 's'

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group