Re: hstore improvements?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: hstore improvements?
Date: 2009-03-19 20:23:57
Message-ID: 49C2A9DD.508@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew,

> One request I've had is to construct a record (of some supplied
> composite type) from an hstore.
>
> I'm not sure if this is even possible; I'm certainly not seeing a way
> to implement it. Am I missing something?

Well, presumably you'd try to match hstore tags against the "columns" of
the composite type, and where a tag didn't exist, return NULL,and where
one isn't in the composite type, ignore it. All data would be TEXT.

--Josh

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2009-03-19 20:26:47 Re: hstore improvements?
Previous Message Josh Berkus 2009-03-19 19:49:23 Re: Extension of Thick Indexes