Re: "?" hstore operator broken in 9.2? - Mailing list pgsql-general

From John R Pierce
Subject Re: "?" hstore operator broken in 9.2?
Date
Msg-id 50D8FDB1.9010208@hogranch.com
Whole thread Raw
In response to "?" hstore operator broken in 9.2?  ("David Johnston" <polobo@yahoo.com>)
List 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 by date:

Previous
From: "David Johnston"
Date:
Subject: "?" hstore operator broken in 9.2?
Next
From: Tom Lane
Date:
Subject: Re: "?" hstore operator broken in 9.2?