Re: logical decoding output plugin

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Torsten Förtsch <tfoertsch123(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: logical decoding output plugin
Date: 2016-12-12 04:08:08
Message-ID: CAB7nPqReFrxENbNfL+nVbNvztU0P7OpAgtOAZwNq1RGmwCE5cg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Dec 11, 2016 at 7:31 PM, Torsten Förtsch <tfoertsch123(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Withers 2016-12-12 07:34:46 Re: btree gist indices, null and open-ended tsranges
Previous Message Michael Paquier 2016-12-12 03:08:04 Re: WAL history files - Pgsql 9.2