Re: Table rewrites vs. pending AFTER triggers

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Table rewrites vs. pending AFTER triggers
Date: 2008-01-03 14:35:27
Message-ID: 20080103143527.GC10950@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs wrote:
> On Tue, 2008-01-01 at 16:09 -0500, Tom Lane wrote:
>
> > Paranoia would
> > suggest forbidding *any* form of ALTER TABLE when there are pending
> > trigger events, but maybe that's unnecessarily strong.
>
> That works for me. Such a combination makes no sense, so banning it is
> the right thing to do.

I disagree. This is an implementation limitation, so it makes sense to
try to restrict the user as least as possible.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-01-03 14:39:26 Re: Autovacuum & Table List Ordering
Previous Message Glyn Astill 2008-01-03 13:39:56