Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
Minor bug fixes in SQL files
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderill committed Aug 25, 2016
1 parent 0e4c5b5 commit 56b4c3c
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion sql/ws/ws_gw_fct_mincut.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sql/ws/ws_gw_fct_mincut_recursive.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sql/ws/ws_gw_trg_arc_searchnodes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion sql/ws/ws_gw_trg_edit_connec.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sql/ws/ws_gw_trg_edit_inp_arc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sql/ws/ws_gw_trg_edit_inp_node.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sql/ws/ws_gw_trg_edit_node.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sql/ws/ws_gw_trg_node_update.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 56b4c3c

Please # to comment.