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