Index: backend/slony1_funcs.c =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.c,v retrieving revision 1.67 diff -c -u -r1.67 slony1_funcs.c --- backend/slony1_funcs.c 26 May 2008 21:09:48 -0000 1.67 +++ backend/slony1_funcs.c 24 Sep 2008 18:54:38 -0000 @@ -28,6 +28,7 @@ #include "utils/builtins.h" #include "utils/elog.h" #include "utils/guc.h" +#include "utils/snapmgr.h" #ifdef HAVE_TYPCACHE #include "utils/typcache.h" #else @@ -134,8 +135,8 @@ int64 retval; bool isnull; - if (SerializableSnapshot == NULL) - elog(ERROR, "Slony-I: SerializableSnapshot is NULL in createEvent()"); + if (GetActiveSnapshot() == NULL) + elog(ERROR, "Slony-I: ActiveSnapshot is NULL in createEvent()"); if ((rc = SPI_connect()) < 0) elog(ERROR, "Slony-I: SPI_connect() failed in createEvent()");