diff options
| author | Teodor Sigaev <teodor@sigaev.ru> | 2006-10-11 16:42:51 +0000 |
|---|---|---|
| committer | Teodor Sigaev <teodor@sigaev.ru> | 2006-10-11 16:42:51 +0000 |
| commit | 3f16647960ceb471dfacadc5d3a8c87601429256 (patch) | |
| tree | 9ac00fed0a49e0ff503d2de61e7dc6733d76d4a8 /contrib/hstore/hstore.sql.in | |
| parent | 4e46f4799ea997cbf7ae136c23483dbd95124e30 (diff) | |
| download | postgresql-3f16647960ceb471dfacadc5d3a8c87601429256.tar.gz | |
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
Diffstat (limited to 'contrib/hstore/hstore.sql.in')
| -rw-r--r-- | contrib/hstore/hstore.sql.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/hstore/hstore.sql.in b/contrib/hstore/hstore.sql.in index c77fc7d4fb..95cecf15d2 100644 --- a/contrib/hstore/hstore.sql.in +++ b/contrib/hstore/hstore.sql.in @@ -35,11 +35,21 @@ RETURNS bool AS 'MODULE_PATHNAME','exists' LANGUAGE 'C' with (isstrict,iscachable); +CREATE FUNCTION exist(hstore,text) +RETURNS bool +AS 'MODULE_PATHNAME','exists' +LANGUAGE 'C' with (isstrict,iscachable); + CREATE FUNCTION isdefined(hstore,text) RETURNS bool AS 'MODULE_PATHNAME','defined' LANGUAGE 'C' with (isstrict,iscachable); +CREATE FUNCTION defined(hstore,text) +RETURNS bool +AS 'MODULE_PATHNAME','defined' +LANGUAGE 'C' with (isstrict,iscachable); + CREATE FUNCTION delete(hstore,text) RETURNS hstore AS 'MODULE_PATHNAME','delete' |
