From cc8f93c53579c82293597205dc997674881477fc Mon Sep 17 00:00:00 2001 From: Carla Date: Wed, 7 Sep 2016 15:40:20 +0200 Subject: [PATCH] Use real function name for compatibility --- client/sql/20_table_augmentation.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/sql/20_table_augmentation.sql b/client/sql/20_table_augmentation.sql index 81d5d78..fb69387 100644 --- a/client/sql/20_table_augmentation.sql +++ b/client/sql/20_table_augmentation.sql @@ -100,7 +100,7 @@ CREATE OR REPLACE FUNCTION cdb_dataservices_client.__DST_PrepareTableOBS_GetMeas output_table_name text, params json ) RETURNS boolean AS $$ - function_name = 'GetMeasure' + function_name = 'OBS_GetMeasure' # Obtain return types for augmentation procedure ds_return_metadata = plpy.execute("SELECT colnames, coltypes " "FROM cdb_dataservices_client._DST_GetReturnMetadata({username}::text, {orgname}::text, {function_name}::text, {params}::json);" @@ -146,7 +146,7 @@ CREATE OR REPLACE FUNCTION cdb_dataservices_client.__DST_PopulateTableOBS_GetMea output_table_name text, params json ) RETURNS boolean AS $$ - function_name = 'GetMeasure' + function_name = 'OBS_GetMeasure' # Obtain return types for augmentation procedure ds_return_metadata = plpy.execute( "SELECT colnames, coltypes "