Wed Oct 21 05:53:18 PDT 2009
- Previous message: [Slony1-commit] slony1-www/content news.txt
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/backend
In directory main.slony.info:/tmp/cvs-serv28945
Modified Files:
Tag: REL_2_0_STABLE
slony1_funcs.sql
Log Message:
UPGRADE FUNCTIONS failing because functions had their return types changed.
Added in "DROP FUNCTION IF EXISTS" (fine in 8.3+) in
src/backend/slony1_funcs.sql to rectify this.
Problem reported by Glyn Astill
Index: slony1_funcs.sql
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.sql,v
retrieving revision 1.145.2.19
retrieving revision 1.145.2.20
diff -C2 -d -r1.145.2.19 -r1.145.2.20
*** slony1_funcs.sql 23 Sep 2009 16:14:32 -0000 1.145.2.19
--- slony1_funcs.sql 21 Oct 2009 12:53:15 -0000 1.145.2.20
***************
*** 3644,3647 ****
--- 3644,3649 ----
-- Generate the DDL_SCRIPT event
-- ----------------------------------------------------------------------
+ drop function if exists @NAMESPACE at .ddlScript_complete (int4, text, int4); -- Needed because function signature has changed!
+
create or replace function @NAMESPACE at .ddlScript_complete (int4, text, int4)
returns bigint
***************
*** 5064,5067 ****
--- 5066,5070 ----
-- Reset the relnames
-- ----------------------------------------------------------------------
+ drop function if exists @NAMESPACE at .updateReloid (int4, int4);
create or replace function @NAMESPACE at .updateReloid (int4, int4)
returns bigint
- Previous message: [Slony1-commit] slony1-www/content news.txt
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list