Re: Add CREATE support to event triggers

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add CREATE support to event triggers
Date: 2014-01-06 19:03:18
Message-ID: CA+TgmoZJL=Y_8ZPC7yqkv4L_2WwA=QkBqUw49Y3FRYWRNnsTPg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jan 6, 2014 at 1:17 PM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:
> I agree, except that I would prefer not to have one function for each
> DDL statement type; instead we would have a single function that knows
> to expand arbitrary strings using arbitrary JSON parameter objects, and
> let ddl_rewrite.c (or whatever we call that file) deal with all the
> ugliness.

Yeah, that might work.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dilger 2014-01-06 19:10:19 Re: Re: In-core regression tests for replication, cascading, archiving, PITR, etc. Michael Paquier
Previous Message Tom Lane 2014-01-06 18:55:44 Re: dynamic shared memory and locks