Skip to content

Commit

Permalink
Functions that return event IDs need to be returning "bigint", not "i…
Browse files Browse the repository at this point in the history
…nt4"

or "integer"
  • Loading branch information
Christopher Browne committed Aug 10, 2009
1 parent 9dca4a1 commit 5d53ff3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/slony1_funcs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-- Copyright (c) 2003-2007, PostgreSQL Global Development Group
-- Author: Jan Wieck, Afilias USA INC.
--
-- $Id: slony1_funcs.sql,v 1.145.2.16 2009-08-10 15:34:19 cbbrowne Exp $
-- $Id: slony1_funcs.sql,v 1.145.2.17 2009-08-10 22:25:40 cbbrowne Exp $
-- ----------------------------------------------------------------------

-- **********************************************************************
Expand Down Expand Up @@ -3644,7 +3644,7 @@ comment on function @NAMESPACE@.ddlScript_prepare (int4, int4) is
-- Generate the DDL_SCRIPT event
-- ----------------------------------------------------------------------
create or replace function @NAMESPACE@.ddlScript_complete (int4, text, int4)
returns integer
returns bigint
as $$
declare
p_set_id alias for $1;
Expand Down Expand Up @@ -5064,7 +5064,7 @@ comment on function @NAMESPACE@.updateRelname(int4, int4) is
-- Reset the relnames
-- ----------------------------------------------------------------------
create or replace function @NAMESPACE@.updateReloid (int4, int4)
returns int4
returns bigint
as $$
declare
p_set_id alias for $1;
Expand Down

0 comments on commit 5d53ff3

Please sign in to comment.