Re: hstores in pl/python - Mailing list pgsql-hackers

From Robert Haas
Subject Re: hstores in pl/python
Date
Msg-id AANLkTinxzbS012K0orSM8Z_VdBuw1h9Oz8cNBAizUzm+@mail.gmail.com
Whole thread Raw
In response to Re: hstores in pl/python  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: hstores in pl/python  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers
On Wed, Dec 15, 2010 at 10:00 AM, Dimitri Fontaine
<dimitri@2ndquadrant.fr> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Well then we need a reliable way to identify a type.  What would satisfy you?
>
> An oid ?

Wrong probem.  What we need is a way to identify a type without
knowing in advance what its OID is.  In other words, we need to
distinguish between the hstore type that is shipped in contrib, and
some stupid DBA who types "CREATE DOMAIN hstore as text".

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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Default mode for shutdown
Next
From: Alvaro Herrera
Date:
Subject: Re: Complier warnings on mingw gcc 4.5.0