-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christopher Browne a écrit :
> Quoting "Stéphane A. Schildknecht"
> <[email protected]>:
>> 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,
- --
Stéphane Schildknecht
PostgreSQLFr - http://www.postgresql.fr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFKG76sA+REPKWGI0ERAnbCAKCxnHnL/ud2A16Y0mrgtUYyKa79VgCfX6G5
tuHOLEttx/D9M1dniiesBYE=
=gJsQ
-----END PGP SIGNATURE-----
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general