1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Rename function 'isexists' and 'isdefined' to

'exist' and 'defined' accordingly. Old names
are saved not mentioned in docs - for compatibility
with old applications.
Per discussion
http://archives.postgresql.org/pgsql-hackers/2006-10/msg00571.php
This commit is contained in:
Teodor Sigaev
2006-10-11 16:42:51 +00:00
parent 4e46f4799e
commit 3f16647960
5 changed files with 43 additions and 31 deletions

View File

@ -117,20 +117,20 @@ regression=# select * from each('a=>1,b=>2');
a | 1
b | 2
* isexists (hstore,text) - returns 'true if key is exists in hstore and
* exist (hstore,text) - returns 'true if key is exists in hstore and
false otherwise.
regression=# select isexists('a=>1','a');
isexists
regression=# select exist('a=>1','a');
exist
----------
t
* isdefined (hstore,text) - returns true if key is exists in hstore and
* defined (hstore,text) - returns true if key is exists in hstore and
its value is not NULL.
regression=# select isdefined('a=>NULL','a');
isdefined
-----------
regression=# select defined('a=>NULL','a');
defined
---------
f
Indices