On 12/24/2012 6:33 PM, Tom Lane wrote:
> "David Johnston"<polobo(at)yahoo(dot)com> writes:
>> >When I execute the following query:
>> >SELECT 'a=>1'::hstore ? 'a'::text
> FWIW, works fine for me.
>
>> >I get an "Input parameter count is less then expected" error message.
> I can't find such a message (or indeed anything mentioning "parameter
> count") anywhere in the Postgres sources. Are you running this query
> bare in psql, or using some other client-side software? Could the
> message be coming from the client-side code?
AHHH! in particular a language binding that uses ? as a placeholder for
parameterized query arguments...
just guessing....