Rename metadata() to cdb_metadata() #136

This commit is contained in:
Rafa de la Torre 2015-05-06 11:30:42 +02:00
parent b065edbaeb
commit fbba289cb0

View File

@ -1,4 +1,4 @@
CREATE FUNCTION public.metadata() CREATE FUNCTION public.cdb_metadata()
RETURNS TABLE( RETURNS TABLE(
name text, name text,
tabname text, tabname text,
@ -39,4 +39,4 @@ $$ LANGUAGE SQL;
GRANT SELECT ON TABLE meta_dataset TO publicuser; GRANT SELECT ON TABLE meta_dataset TO publicuser;
GRANT SELECT ON TABLE meta_category TO publicuser; GRANT SELECT ON TABLE meta_category TO publicuser;
GRANT EXECUTE ON FUNCTION metadata() TO publicuser; GRANT EXECUTE ON FUNCTION cdb_metadata() TO publicuser;