Re: Working with PostgreSQL enums in C code

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Working with PostgreSQL enums in C code
Date: 2010-06-07 22:00:04
Message-ID: AANLkTinH0juAvwWpnBTckhrSm-FzBwcvrjsixzVVzTsD@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 7, 2010 at 5:16 PM, Joseph Adams <joeyadams3(dot)14159(at)gmail(dot)com> wrote:
> I don't know if the JSON datatype will be a contrib module or built-in
> yet, but if it were contrib, would it still be better to use fixed
> OIDs anyway?

Part of the point is that EXPLAIN (FORMAT JSON) should return json, so
this needs to be built-in. Otherwise, that won't work.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2010-06-07 22:54:13 Re: Idea for getting rid of VACUUM FREEZE on cold pages
Previous Message Alvaro Herrera 2010-06-07 21:44:43 Re: Working with PostgreSQL enums in C code