Re: BUG #15359: event_trigger via pg_event_trigger_ddl_commands()not returning "CREATE SEQUENCE" command - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #15359: event_trigger via pg_event_trigger_ddl_commands()not returning "CREATE SEQUENCE" command
Date
Msg-id 20180830084820.s3k3dhwgkedekh7o@alvherre.pgsql
Whole thread Raw
In response to BUG #15359: event_trigger via pg_event_trigger_ddl_commands() notreturning "CREATE SEQUENCE" command  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
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


pgsql-bugs by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: BUG #15352: postgresql FDW error "ERROR: ORDER BY position 0 is not in select list"
Next
From: Andrew Gierth
Date:
Subject: Re: BUG #15359: event_trigger via pg_event_trigger_ddl_commands() not returning "CREATE SEQUENCE" command