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:
@ -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
|
||||
|
Reference in New Issue
Block a user