"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?
regards, tom lane