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

From Tom Lane
Subject Re: hstores in pl/python
Date
Msg-id 13902.1292293003@sss.pgh.pa.us
Whole thread Raw
In response to Re: hstores in pl/python  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: hstores in pl/python  (Robert Haas <robertmhaas@gmail.com>)
Re: hstores in pl/python  (James William Pye <lists@jwp.name>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Can we arrange to pg_dlopen() the hstore module instead of linking
> against it directly?  Seems like that might let you use it when
> available without making it a hard requirement.

That doesn't deal with the issues of (a) what is a reasonable fallback
when the module's not there, and (b) how do you identify which type OID
is really hstore?  ("The one named hstore" is the wrong answer.)
Both of these problems are trivial for an in-core datatype, and not at
all trivial if it's an add-on.
        regards, tom lane


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: rest of works for security providers in v9.1
Next
From: Josh Berkus
Date:
Subject: Re: Transaction-scope advisory locks