Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP) - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)
Date
Msg-id 1281454126-sup-3094@alvh.no-ip.org
Whole thread Raw
In response to Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)  (Joseph Adams <joeyadams3.14159@gmail.com>)
Responses Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Excerpts from Joseph Adams's message of mar ago 10 04:03:43 -0400 2010:

> An overview, along with my thoughts, of the utility functions:
> 
> FN_EXTRA, FN_EXTRA_ALLOC, FN_MCXT macros
>  * Useful-ometer: ()--------------------o
> 
> TypeInfo structure and getTypeInfo function
>  * Useful-ometer: ()---------------------------o
>
> getEnumLabelOids
>  * Useful-ometer: ()-----------------------------------o

I think this kind of thing could be stripped from the patch and
submitted separately; they would presumably see a quick review and
commit if they are small and useful (particularly if you can show a
decrease of code verbosity by switching other uses in the existing
code).

The advantage is you don't have to keep arguing for their usefulness in
the JSON patch; and if they turn out to be rejected, they won't cause
the JSON patch to be rejected as a whole.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Session timeout on commitfest.postgresql.org
Next
From: Thom Brown
Date:
Subject: Re: Session timeout on commitfest.postgresql.org