Re: Patch for 8.5, transformationHook

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch for 8.5, transformationHook
Date: 2009-08-09 01:28:09
Message-ID: 603c8f070908081828r5cbe2f9aq72022a2ab9196c13@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Aug 8, 2009 at 9:11 PM, Jeff Davis<pgsql(at)j-davis(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-08-09 02:02:11 Re: hot standby - merged up to CVS HEAD
Previous Message Robert Haas 2009-08-09 01:23:18 Re: Commitfest 2009-07 - 6 patches moved to "Returned with Feedback"