Chris Browne cbbrowne at lists.slony.info
Mon Aug 10 15:25:42 PDT 2009
Update of /home/cvsd/slony1/slony1-engine/src/backend
In directory main.slony.info:/tmp/cvs-serv31642/backend

Modified Files:
      Tag: REL_2_0_STABLE
	slony1_funcs.sql 
Log Message:
Functions that return event IDs need to be returning "bigint", not "int4"
or "integer"


Index: slony1_funcs.sql
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.sql,v
retrieving revision 1.145.2.16
retrieving revision 1.145.2.17
diff -C2 -d -r1.145.2.16 -r1.145.2.17
*** slony1_funcs.sql	10 Aug 2009 15:34:19 -0000	1.145.2.16
--- slony1_funcs.sql	10 Aug 2009 22:25:40 -0000	1.145.2.17
***************
*** 3645,3649 ****
  -- ----------------------------------------------------------------------
  create or replace function @NAMESPACE at .ddlScript_complete (int4, text, int4)
! returns integer
  as $$
  declare
--- 3645,3649 ----
  -- ----------------------------------------------------------------------
  create or replace function @NAMESPACE at .ddlScript_complete (int4, text, int4)
! returns bigint
  as $$
  declare
***************
*** 5065,5069 ****
  -- ----------------------------------------------------------------------
  create or replace function @NAMESPACE at .updateReloid (int4, int4)
! returns int4
  as $$
  declare
--- 5065,5069 ----
  -- ----------------------------------------------------------------------
  create or replace function @NAMESPACE at .updateReloid (int4, int4)
! returns bigint
  as $$
  declare



More information about the Slony1-commit mailing list