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

From Tom Lane
Subject Re: hstores in pl/python
Date
Msg-id 4913.1292423890@sss.pgh.pa.us
Whole thread Raw
In response to Re: hstores in pl/python  (Jan Urbański <wulczer@wulczer.org>)
Responses Re: hstores in pl/python  (Robert Haas <robertmhaas@gmail.com>)
Re: hstores in pl/python  (Jan Urbański <wulczer@wulczer.org>)
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Instrument checkpoint sync calls
Next
From: Tom Lane
Date:
Subject: Re: Default mode for shutdown