From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: gabriel.franco@quintoandar.com.br
Subject: BUG #17576: Event_trigger ddl_command_end not firing during CREATE PROCEDURE
Date: Fri, 05 Aug 2022 16:28:21 +0000
Message-ID: <17576-8d57c13422ff75cb@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17576
Logged by: Gabriel Rodrigues Franco
Email address: gabriel.franco@quintoandar.com.br
PostgreSQL version: 13.4
Operating system: Its and Amazon RDS
Description:
Hello PostgreSQL team,
I have a FUNCTION that needs to be executed after any object creation
(tables, functions, procedures...), and it is triggering as expected for any
DDL operation against tables and functions, but not for PROCEDURES.
CREATE EVENT TRIGGER tg_change_obj_owner ON ddl_command_end
EXECUTE FUNCTION public.pg_change_obj_owner();
I saw in the Matrix that this was not supposed to happen:
https://www.postgresql.org/docs/current/event-trigger-matrix.html
Could you help me?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, gabriel.franco@quintoandar.com.br
Subject: Re: BUG #17576: Event_trigger ddl_command_end not firing during CREATE PROCEDURE
In-Reply-To: <17576-8d57c13422ff75cb@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox