On Sat, 2010-07-24 at 18:57 -0400, Joseph Adams wrote:
> I've been developing it as a contrib module because:
> * I'd imagine it's easier than developing it as a built-in datatype
> right away (e.g. editing a .sql.in file versus editing pg_type.h ).
> * As a module, it has PGXS support, so people can try it out right
> away rather than having to recompile PostgreSQL.
>
> I, for one, think it would be great if the JSON datatype were all in
> core :-) However, if and how much JSON code should go into core is up
> for discussion. Thoughts, anyone?
As a GSoC piece of work, doing it as a contrib module gives an
immediately useful deliverable. Good plan.
Once that is available, we can then get some feedback on it and include
it as an in-core datatype later in the 9.1 cycle.
So lets do both: contrib and in-core.
-- Simon Riggs www.2ndQuadrant.comPostgreSQL Development, 24x7 Support, Training and Services