Re: hstore isexists - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: hstore isexists
Date
Msg-id 452D0390.50606@sigaev.ru
Whole thread Raw
In response to Re: hstore isexists  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: hstore isexists
List pgsql-hackers
'exists' isn't a good name for function :(. From gram.y:
col_name_keyword:...

function_name:            IDENT                                   { $$ = $1; }            | unreserved_keyword
         { $$ = pstrdup($1); }            | func_name_keyword                     { $$ = pstrdup($1); }        ;
 

So call of function named 'exists' should be in quotas:
select "exists"('a=>1','a');

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Upgrading a database dump/restore
Next
From: Tom Lane
Date:
Subject: Re: hstore isexists