Rename cdb_crankshaft_internal_version as internal function

This commit is contained in:
Javier Goizueta
2016-03-16 16:41:54 +01:00
parent bad09ffd7b
commit a7e42e93cc
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ $$ language 'sql' IMMUTABLE STRICT;
-- Internal identifier of the installed extension instence
-- e.g. 'dev' for current development version
CREATE OR REPLACE FUNCTION cdb_crankshaft_internal_version()
CREATE OR REPLACE FUNCTION _cdb_crankshaft_internal_version()
RETURNS text AS $$
SELECT installed_version FROM pg_available_extensions where name='crankshaft' and pg_available_extensions IS NOT NULL;
$$ language 'sql' IMMUTABLE STRICT;