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

From James William Pye
Subject Re: hstores in pl/python
Date
Msg-id 13C8A088-3916-4948-98F9-013E84F1E91B@jwp.name
Whole thread Raw
In response to Re: hstores in pl/python  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: hstores in pl/python  (Florian Pflug <fgp@phlo.org>)
List pgsql-hackers
On Dec 13, 2010, at 6:16 PM, Tom Lane wrote:
> how do you identify which type OID is really hstore?


How about an identification field on pg_type?

CREATE TYPE hstore ..., IDENTIFIER 'org.postgresql.hstore';
-- Where the "identifier" is an arbitrary string.

Type information can be looked up by the PL, and the I/O functions can
be dynamically resolved using the identifier.


pgsql-hackers by date:

Previous
From: Florian Pflug
Date:
Subject: Getting "ERROR: no unpinned buffers available" on HEAD, should I investigate?
Next
From: Robert Haas
Date:
Subject: Re: [PATCH] V3: Idle in transaction cancellation