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

From Robert Haas
Subject Re: hstores in pl/python
Date
Msg-id AANLkTi=R4h-kdQFTdjKmEtO2ma0vH=gwZfwT05hqkSYa@mail.gmail.com
Whole thread Raw
In response to Re: hstores in pl/python  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: hstores in pl/python  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: hstores in pl/python  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers
On Wed, Dec 15, 2010 at 9:38 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Jan Urbański <wulczer@wulczer.org> writes:
>> OK, here's another master plan:
>
>> 1) hstore_plplython, when loaded, looks for a type called "hstore". If
> you created a "hstore" type that does not come from hstore.so, and you
> still load hstore_plpython, you deserve a segfault.
>
> No, you don't.  I said upthread that relying on the name of the type was
> a nonstarter, and it still is.  For one thing, this sketch ignores
> search path issues.

Well then we need a reliable way to identify a type.  What would satisfy you?

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


pgsql-hackers by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: ALTER TABLE ... REPLACE WITH
Next
From: Robert Haas
Date:
Subject: Re: Default mode for shutdown