Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Txh6K-0002M5-2J for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Jan 2013 16:53:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Txh6J-0002xZ-2w for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Jan 2013 16:53:31 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Txh6H-0002xU-TO for pgsql-hackers@postgresql.org; Tue, 22 Jan 2013 16:53:29 +0000 Received: from acidenitrix.villemain.org ([91.121.90.165]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Txh6B-0002os-O3 for pgsql-hackers@postgresql.org; Tue, 22 Jan 2013 16:53:29 +0000 Received: from [89.157.243.170] (helo=Dimitris-MacBook-Air.local) by acidenitrix.villemain.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Txh69-0003u2-Ix; Tue, 22 Jan 2013 17:53:21 +0100 From: Dimitri Fontaine To: Thom Brown Cc: Robert Haas , Alvaro Herrera , PostgreSQL Hackers Subject: Re: Event Triggers: adding information Organization: 2ndQuadrant References: <20130104205251.GB9191@alvh.no-ip.org> <20130109165829.GB4490@alvh.no-ip.org> User-Mail-Address: dimitri@2ndQuadrant.fr Date: Tue, 22 Jan 2013 17:53:07 +0100 In-Reply-To: (Thom Brown's message of "Tue, 22 Jan 2013 16:28:07 +0000") Message-ID: User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Thom Brown writes: > ALTER INDEX is missing from the event trigger matrix. > > When renaming a column on a foreign table, tg_tag reports 'ALTER > TABLE' instead of 'ALTER FOREIGN TABLE'. It doesn't do this for any > other ALTER FOREIGN TABLE operation, including altering, adding or > dropping a column. Will see about that later, thanks for reporting. > DROP OWNED BY doesn't fire any type of event trigger. Is this right? It's currently being discussed. > And also I can't get ddl_command_end to do anything: Due to a bug in the form of a stray & in the patch that got commited, and that I fixed this morning: http://www.postgresql.org/message-id/m2vcapl7tl.fsf@2ndQuadrant.fr > Also, I'm assuming the 'ANY COMMAND' special tag is supposed to be > removed? Yes, just omit the WHEN clause for the TAG. Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers