Tue May 26 05:24:19 PDT 2009
- Previous message: [Slony1-general] Compilation of Slony 1.2.X with PostgreSQL 8.4 beta?
- Next message: [Slony1-general] Compilation of Slony 1.2.X with PostgreSQL 8.4 beta?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stéphane A. Schildknecht a écrit : > Christopher Browne a écrit : >> Quoting "Stéphane A. Schildknecht" >> <stephane.schildknecht at postgresqlfr.org>: >>> Any update on this? >> I had put this off, pending 1.2.16's release... > >> I'll see if I can come up with resolution to this problem this week. > > Hi, > > I searched a little further. > > Searching for SerializableSnapshot in 8.3 tree, I found: > > ../postgresql-8.3.7/src/backend/access/transam/xact.c: if > (SerializableSnapshot) > ../postgresql-8.3.7/src/backend/access/transam/xact.c: > SerializableSnapshot->curcid = currentCommandId; > ../postgresql-8.3.7/src/backend/commands/variable.c: if > (SerializableSnapshot != NULL) > ../postgresql-8.3.7/src/backend/utils/time/tqual.c:static SnapshotData > SerializableSnapshotData = {HeapTupleSatisfiesMVCC}; > ../postgresql-8.3.7/src/backend/utils/time/tqual.c:Snapshot > SerializableSnapshot = NULL; > ../postgresql-8.3.7/src/backend/utils/time/tqual.c: * The SerializableSnapshot > is the first one taken in a transaction. > ../postgresql-8.3.7/src/backend/utils/time/tqual.c: if > (SerializableSnapshot == NULL) > ../postgresql-8.3.7/src/backend/utils/time/tqual.c: > SerializableSnapshot = GetSnapshotData(&SerializableSnapshotData, true); > ../postgresql-8.3.7/src/backend/utils/time/tqual.c: return > SerializableSnapshot; > ../postgresql-8.3.7/src/backend/utils/time/tqual.c: return > SerializableSnapshot; > ../postgresql-8.3.7/src/backend/utils/time/tqual.c: if > (SerializableSnapshot == NULL) > ../postgresql-8.3.7/src/backend/utils/time/tqual.c: SerializableSnapshot = > NULL; > ../postgresql-8.3.7/src/include/utils/tqual.h:extern PGDLLIMPORT Snapshot > SerializableSnapshot; > > I did not find it in 8.4 source tree. > > So I tried to add that line in src/xxid/xxid.c and src/backend/slony1_func.c: > > Snapshot SerializableSnapshot = NULL; > > Next error was in function getClusterStatus : > > slony1_funcs.c: Dans la fonction «getClusterStatus» : > slony1_funcs.c:1365: erreur: «INT4OID» undeclared (first use in this function) > slony1_funcs.c:1365: erreur: (Each undeclared identifier is reported only once > slony1_funcs.c:1365: erreur: for each function it appears in.) > slony1_funcs.c:1388: erreur: «TEXTOID» undeclared (first use in this function) > > It seems to me that files included in Slony1-1.2.16 don't reflect one change > that happened in source tree between PG 8.3 and PG 8.4. > > I don't know how to fix it yet, going on searching... > > Regards, Adding #include "catalog/pg_type.h" in src/backend/slony1_func.c let me compile the whole project. Regards, SAS -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKG99zA+REPKWGI0ERArrWAKCXidZSWFejzaOcePwUCJ7n9ouGAgCfXR5Z Xz7S1UcNqmLUzFYZTK9vgKc= =2Zc+ -----END PGP SIGNATURE-----
- Previous message: [Slony1-general] Compilation of Slony 1.2.X with PostgreSQL 8.4 beta?
- Next message: [Slony1-general] Compilation of Slony 1.2.X with PostgreSQL 8.4 beta?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list