Re: Add CREATE support to event triggers

From: Jim Nasby <jim(at)nasby(dot)net>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add CREATE support to event triggers
Date: 2014-01-11 00:14:46
Message-ID: 52D08CF6.1080705@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/10/14, 3:40 PM, Simon Riggs wrote:
> Given that CREATE SCHEMA with multiple objects is less well used, its
> a reasonable restriction to accept for one release, if the alternative
> is to implement nothing at all of value. Especially since we are now
> in the third year of development of this set of features, it is time
> to reduce the scope to ensure delivery.

ISTM that since you can nest JSON then CREATE SCHEMA just needs to support providing an array of other JSON definitions, no? And it doesn't seem like it should be that hard to code that up.

That said, if it's a choice between getting a bunch of CREATE blah support or getting nothing because of CREATE SCHEMA with objects then as long as we have a scheme that supports the full CREATE SCHEMA feature we shouldn't hold up just because it's not coded.
--
Jim C. Nasby, Data Architect jim(at)nasby(dot)net
512.569.9461 (cell) http://jim.nasby.net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-01-11 00:16:58 Re: new json funcs
Previous Message Jim Nasby 2014-01-11 00:09:02 Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE