Re: "?" hstore operator broken in 9.2?

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: "?" hstore operator broken in 9.2?
Дата
Msg-id 50D8FDB1.9010208@hogranch.com
обсуждение исходный текст
Ответ на "?" hstore operator broken in 9.2?  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
On 12/24/2012 4:45 PM, David Johnston wrote:

 

SELECT 'a=>1'::hstore ? 'a'::text


fwiw, this works for me...

select hstore 'a=>1' ? 'a';


'something'::SOMETYPE is a type cast operation, while SOMETYPE 'something'  is a constant of SOMETYPE.   I didn't bother to cast 'a' to text as 'a' *is* text by default.


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

Предыдущее
От: "David Johnston"
Дата:
Сообщение: "?" hstore operator broken in 9.2?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "?" hstore operator broken in 9.2?