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