Gavin Hamill gdh
Tue Jan 9 08:02:08 PST 2007
hi - just thought I'd give 1.2.6 a blast. We'll be migrating to PG 8.2.1 when it appears, so it would seem wise to have half of the upgrade done already?

Anyway, this is a very basic Debian etch install with build-essential, postgresql-server-dev-8.1 etc. and I got this:

roffle1:~/slony1-1.2.6# make
make[1]: Entering directory `/root/slony1-1.2.6/src'
make[2]: Entering directory `/root/slony1-1.2.6/src/xxid'
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../.. -I/usr/include/postgresql/ -I/usr/include/postgresql/8.1/server/  -c -o xxid.o xxid.c
In file included from xxid.c:18:
/usr/include/postgresql/8.1/server/access/xact.h:138:46: error: macro "GetTopTransactionId" passed 1 arguments, but takes just 0
make[2]: *** [xxid.o] Error 1
make[2]: Leaving directory `/root/slony1-1.2.6/src/xxid'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/slony1-1.2.6/src'
make: *** [all] Error 2

Erk - and sure enough in xact.h, 

extern TransactionId GetTopTransactionId(void);

perhaps it started taking an argument in PG 8.2 ? We have 8.1.5...

Cheers,
Gavin.




More information about the Slony1-general mailing list