Re: [GENERAL] logical decoding output plugin - Mailing list pgsql-general

From Michael Paquier
Subject Re: [GENERAL] logical decoding output plugin
Date
Msg-id CAB7nPqReFrxENbNfL+nVbNvztU0P7OpAgtOAZwNq1RGmwCE5cg@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] logical decoding output plugin  (Torsten Förtsch <tfoertsch123@gmail.com>)
List pgsql-general
On Sun, Dec 11, 2016 at 7:31 PM, Torsten Förtsch <tfoertsch123@gmail.com> wrote:
> Is it possible to catch CREATE TABLE and ALTER TABLE RENAME in 9.5?

You are looking for pg_ddl_command via event triggers.
src/test/modules/test_ddl_deparse is one example of that in the code
tree.
--
Michael


pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [GENERAL] WAL history files - Pgsql 9.2
Next
From: Chris Withers
Date:
Subject: Re: [GENERAL] btree gist indices, null and open-ended tsranges