Re: hstore ==> and deprecate =>

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: hstore ==> and deprecate =>
Дата
Msg-id BAC80482-D8F5-4375-A6EB-02AC4816DF0B@kineticode.com
обсуждение исходный текст
Ответ на Re: hstore ==> and deprecate =>  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: hstore ==> and deprecate =>  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Jun 17, 2010, at 1:50 PM, Josh Berkus wrote:

>> It isn't.  || already does what you're saying.
>
> So what *does* it do?

It returns an hstore that's effectively a slice of another hstore. From the docs
(http://developer.postgresql.org/pgdocs/postgres/hstore.html):

'a=>1,b=>2,c=>3'::hstore => ARRAY['b','c','x']

Result is:

'"b"=>"2", "c"=>"3"'::hstore

Best,

David

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: hstore ==> and deprecate =>
Следующее
От: Robert Haas
Дата:
Сообщение: Re: hstore ==> and deprecate =>