Re: Patch for 8.5, transformationHook - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Patch for 8.5, transformationHook
Date
Msg-id 603c8f070908081828r5cbe2f9aq72022a2ab9196c13@mail.gmail.com
Whole thread Raw
In response to Re: Patch for 8.5, transformationHook  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
On Sat, Aug 8, 2009 at 9:11 PM, Jeff Davis<pgsql@j-davis.com> wrote:
> On Thu, 2009-07-30 at 00:01 -0400, Robert Haas wrote:
>> The JSON transformation provides functionality which is very similar
>> to what we also offer for XML.  I sort of think we ought to just
>> provide that, rather than making it an add-on.  I have found it to be
>> a tremendously attractive alternative to XML.
>
> It's worthwhile to think about how we can fit our special cases into
> general APIs -- particularly when we have two similar special cases like
> JSON and XML.

I agree.  The way we handle XML is with special syntax that is
hard-coded into the parser.  If there is a more flexible solution I'm
all for it, but I'm not sure this is it.

...Robert


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Commitfest 2009-07 - 6 patches moved to "Returned with Feedback"
Next
From: Robert Haas
Date:
Subject: Re: hot standby - merged up to CVS HEAD