Re: Command Triggers, patch v11 - Mailing list pgsql-hackers

From Thom Brown
Subject Re: Command Triggers, patch v11
Date
Msg-id CAA-aLv5ORQ5YhcFnPphLYjpYgAVqXBbGtdMVTitGhAqw2b2PWg@mail.gmail.com
Whole thread Raw
In response to Re: Command Triggers, patch v11  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Command Triggers, patch v11  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 9 March 2012 14:09, Robert Haas <robertmhaas@gmail.com> wrote:
> On Wed, Mar 7, 2012 at 4:53 PM, Thom Brown <thom@linux.com> wrote:
>> I've also since found that if I issue a VACUUM, CLUSTER or REINDEX on
>> a read-only standby, the BEFORE ANY COMMAND trigger fires.  I don't
>> think any trigger should fire on a read-only standby.
>
> Why ever not?

Sorry, I meant any command trigger.  It's because none of the commands
can be run on a standby, so the triggers don't seem appropriate.

--
Thom


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Command Triggers, patch v11
Next
From: Robert Haas
Date:
Subject: Re: Command Triggers, patch v11