Re: hstore improvements?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: hstore improvements?
Дата
Msg-id 49C2A9DD.508@agliodbs.com
обсуждение исходный текст
Ответ на Re: hstore improvements?  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: hstore improvements?
Re: hstore improvements?
Список 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




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Extension of Thick Indexes
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: hstore improvements?