Re: "?" hstore operator broken in 9.2?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: "?" hstore operator broken in 9.2?
Date: 2012-12-25 01:13:21
Message-ID: 50D8FDB1.9010208@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-12-25 02:33:39 Re: "?" hstore operator broken in 9.2?
Previous Message David Johnston 2012-12-25 00:45:39 "?" hstore operator broken in 9.2?