Bernd Helmle mailings at oopsware.de
Fri Sep 18 15:42:29 PDT 2009
--On 15. September 2009 01:12:01 +0200 Bernd Helmle <mailings at oopsware.de> 
wrote:

> It seems cloneNodePrepare() is currently broken in the recent 2.0 branch
> (looks like 2.0.3 RC2 has this also). The function is declared to return
> int4, however, calling createEvent() within the function is supposed to
> return bigint.

Hmm, nobody wants to comment on this? At least, it's easy to reproduce with 
2.0.3RC2, CLONE PREPARE generates the following on my little test instance:

ERROR:  value "5000000005" is out of range for type integer
CONTEXT:  PL/pgSQL function "clonenodeprepare" while casting return value 
to function's return type
STATEMENT:  select "_movies".cloneNodePrepare(3, 2, 'clone of node 2');


-- 
Thanks

	Bernd


More information about the Slony1-hackers mailing list