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

From Alvaro Herrera
Subject Re: Command Triggers, patch v11
Date
Msg-id 1331651567-sup-508@alvh.no-ip.org
Whole thread Raw
In response to Re: Command Triggers, patch v11  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Excerpts from Andres Freund's message of mar mar 13 08:22:26 -0300 2012:

> - I think list_command_triggers should do a heap_lock_tuple(LockTupleShared)
>  on the command trigger tuple. But then again just about nothing else does :(

If you want to do something like that, I think it's probably more
appropriate to use LockDatabaseObject than heap_lock_tuple.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: subselect in the column list
Next
From: Bruce Momjian
Date:
Subject: Re: pg_upgrade and statistics