From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: tarek_heiland@debortoli.com.au
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15359: event_trigger via pg_event_trigger_ddl_commands() not returning "CREATE SEQUENCE" command
Date: Thu, 30 Aug 2018 05:48:20 -0300
Message-ID: <20180830084820.s3k3dhwgkedekh7o@alvherre.pgsql> (raw)
In-Reply-To: <153560226458.1484.15293934964985286328@wrigleys.postgresql.org>
On 2018-Aug-30, PG Bug reporting form wrote:
> 3) Test with CREATE SEQUENCE
>
> CREATE SEQUENCE test_seq
> START WITH 1
> INCREMENT BY 1
> NO MINVALUE
> NO MAXVALUE
> CACHE 1;
>
> Query returned successfully with no result in 11 msec.
>
> No event raised.
Works for me, after adding the CREATE EVENT TRIGGER command that you did
not list. (Without it, it doesn't emit the notice for CREATE TABLE
either, obviously.)
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, tarek_heiland@debortoli.com.au
Subject: Re: BUG #15359: event_trigger via pg_event_trigger_ddl_commands() not returning "CREATE SEQUENCE" command
In-Reply-To: <20180830084820.s3k3dhwgkedekh7o@alvherre.pgsql>
References: <153560226458.1484.15293934964985286328@wrigleys.postgresql.org> <20180830084820.s3k3dhwgkedekh7o@alvherre.pgsql>
* 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