Re: JSON for PG 9.2 - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: JSON for PG 9.2
Date
Msg-id 20120127041705.GA20868@toroid.org
Whole thread Raw
In response to Re: JSON for PG 9.2  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: JSON for PG 9.2  (Abhijit Menon-Sen <ams@toroid.org>)
List pgsql-hackers
At 2012-01-15 11:08:05 -0500, andrew@dunslane.net wrote:
>
> Here's an update that adds row_to_json, plus a bit more cleanup.

I've started reviewing this patch, but it'll take me a bit longer to go
through json.c properly. Here are a few preliminary notes:

1. The patch has a lot of whitespace errors (primarily lines ending in
   whitespace), but applying with git apply --whitespace=fix isn't safe,
   because the test results need some (but not all) of those spaces. I
   applied the patch, backed out the changes to expected/json.out, and
   created the file from the patch, then removed the superfluous
   whitespace.

2. I bumped some function OIDs to avoid conflicts.

3. One documentation typo.

Everything other than json.c (which I haven't read yet) looks fine
(builds, passes tests). I've attached a patch covering the changes
I made.

More later.

-- ams

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Progress on fast path sorting, btree index creation time
Next
From: Peter Geoghegan
Date:
Subject: Re: Progress on fast path sorting, btree index creation time