diff --git a/sql/ws/ws_gw_fct_mincut.sql b/sql/ws/ws_gw_fct_mincut.sql index ae52e61b1..d9c9aa6ef 100644 --- a/sql/ws/ws_gw_fct_mincut.sql +++ b/sql/ws/ws_gw_fct_mincut.sql @@ -5,7 +5,7 @@ This version of Giswater is provided by Giswater Association */ -CREATE OR REPLACE FUNCTION SCHEMA_NAME.gw_fct_mincut(element_id_arg character varying, type_element_arg character varying) RETURNS integer AS $BODY$ +CREATE OR REPLACE FUNCTION "SCHEMA_NAME".gw_fct_mincut(element_id_arg character varying, type_element_arg character varying) RETURNS integer AS $BODY$ DECLARE node_1_aux text; node_2_aux text; diff --git a/sql/ws/ws_gw_fct_mincut_recursive.sql b/sql/ws/ws_gw_fct_mincut_recursive.sql index 2cc95cbac..c93838a9b 100644 --- a/sql/ws/ws_gw_fct_mincut_recursive.sql +++ b/sql/ws/ws_gw_fct_mincut_recursive.sql @@ -5,7 +5,7 @@ This version of Giswater is provided by Giswater Association */ -CREATE OR REPLACE FUNCTION SCHEMA_NAME.gw_fct_mincut_recursive(node_id_arg character varying) RETURNS void AS $BODY$ +CREATE OR REPLACE FUNCTION "SCHEMA_NAME".gw_fct_mincut_recursive(node_id_arg character varying) RETURNS void AS $BODY$ DECLARE exists_id character varying; rec_table record; diff --git a/sql/ws/ws_gw_trg_arc_searchnodes.sql b/sql/ws/ws_gw_trg_arc_searchnodes.sql index 1f4903a2d..a3cdc7b77 100644 --- a/sql/ws/ws_gw_trg_arc_searchnodes.sql +++ b/sql/ws/ws_gw_trg_arc_searchnodes.sql @@ -5,7 +5,7 @@ This version of Giswater is provided by Giswater Association */ -CREATE OR REPLACE FUNCTION gw_trg_arc_searchnodes() RETURNS trigger LANGUAGE plpgsql AS $$ +CREATE OR REPLACE FUNCTION "SCHEMA_NAME".gw_trg_arc_searchnodes() RETURNS trigger LANGUAGE plpgsql AS $$ DECLARE nodeRecord1 record; nodeRecord2 record; diff --git a/sql/ws/ws_gw_trg_edit_connec.sql b/sql/ws/ws_gw_trg_edit_connec.sql index d41d029da..6301e5277 100644 --- a/sql/ws/ws_gw_trg_edit_connec.sql +++ b/sql/ws/ws_gw_trg_edit_connec.sql @@ -5,7 +5,6 @@ This version of Giswater is provided by Giswater Association */ - CREATE OR REPLACE FUNCTION "SCHEMA_NAME".gw_trg_edit_connec() RETURNS trigger LANGUAGE plpgsql AS $$ DECLARE v_sql varchar; diff --git a/sql/ws/ws_gw_trg_edit_inp_arc.sql b/sql/ws/ws_gw_trg_edit_inp_arc.sql index c8eb155d1..099dac4b3 100644 --- a/sql/ws/ws_gw_trg_edit_inp_arc.sql +++ b/sql/ws/ws_gw_trg_edit_inp_arc.sql @@ -5,7 +5,7 @@ This version of Giswater is provided by Giswater Association */ -CREATE OR REPLACE FUNCTION SCHEMA_NAME.gw_trg_edit_inp_arc() RETURNS trigger LANGUAGE plpgsql AS $$ +CREATE OR REPLACE FUNCTION "SCHEMA_NAME".gw_trg_edit_inp_arc() RETURNS trigger LANGUAGE plpgsql AS $$ DECLARE arc_table varchar; man_table varchar; diff --git a/sql/ws/ws_gw_trg_edit_inp_node.sql b/sql/ws/ws_gw_trg_edit_inp_node.sql index e9fbb90f3..36d40e0c9 100644 --- a/sql/ws/ws_gw_trg_edit_inp_node.sql +++ b/sql/ws/ws_gw_trg_edit_inp_node.sql @@ -9,7 +9,7 @@ This version of Giswater is provided by Giswater Association -- TRIGGERS EDITING VIEWS FOR NODE ----------------------------- -CREATE OR REPLACE FUNCTION SCHEMA_NAME.gw_trg_edit_inp_node() RETURNS trigger LANGUAGE plpgsql AS $$ +CREATE OR REPLACE FUNCTION "SCHEMA_NAME".gw_trg_edit_inp_node() RETURNS trigger LANGUAGE plpgsql AS $$ DECLARE node_table varchar; man_table varchar; diff --git a/sql/ws/ws_gw_trg_edit_node.sql b/sql/ws/ws_gw_trg_edit_node.sql index ff945343d..32f015e46 100644 --- a/sql/ws/ws_gw_trg_edit_node.sql +++ b/sql/ws/ws_gw_trg_edit_node.sql @@ -5,7 +5,7 @@ This version of Giswater is provided by Giswater Association */ -CREATE OR REPLACE FUNCTION "SCHEMA_NAME"."gw_trg_edit_node"() RETURNS "pg_catalog"."trigger" AS $BODY$ +CREATE OR REPLACE FUNCTION "SCHEMA_NAME".gw_trg_edit_node() RETURNS "pg_catalog"."trigger" AS $BODY$ DECLARE inp_table varchar; man_table varchar; diff --git a/sql/ws/ws_gw_trg_node_update.sql b/sql/ws/ws_gw_trg_node_update.sql index 617a588c6..a03e5bcf7 100644 --- a/sql/ws/ws_gw_trg_node_update.sql +++ b/sql/ws/ws_gw_trg_node_update.sql @@ -5,7 +5,7 @@ This version of Giswater is provided by Giswater Association */ -CREATE OR REPLACE FUNCTION SCHEMA_NAME.gw_trg_node_update() RETURNS trigger LANGUAGE plpgsql AS $$ +CREATE OR REPLACE FUNCTION "SCHEMA_NAME".gw_trg_node_update() RETURNS trigger LANGUAGE plpgsql AS $$ DECLARE querystring Varchar; arcrec Record;