CVS User Account cvsuser
Tue Jan 2 08:47:31 PST 2007
Log Message:
-----------
Quick fix: Declaring xxidin STRICT. This prevents a backend crash in 8.2 when casting NULL to xxid. (We arent checking for NULL in the C function) This still needs a proper fix and investigation as to why this only happens on 8.2 and not on earlier version of PostgreSQL.

Tags:
----
REL_1_2_STABLE

Modified Files:
--------------
    slony1-engine/src/xxid:
        xxid.v74.sql (r1.1.2.1 -> r1.1.2.2)

-------------- next part --------------
Index: xxid.v74.sql
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/xxid/Attic/xxid.v74.sql,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -Lsrc/xxid/xxid.v74.sql -Lsrc/xxid/xxid.v74.sql -u -w -r1.1.2.1 -r1.1.2.2
--- src/xxid/xxid.v74.sql
+++ src/xxid/xxid.v74.sql
@@ -1,5 +1,5 @@
 -- ----------
--- xxid.v73.sql.in
+-- xxid.v74.sql.in
 --
 --	SQL script for loading the transaction ID compatible datatype 
 --
@@ -14,7 +14,7 @@
 --
 CREATE FUNCTION @NAMESPACE at ."xxidin"(cstring) RETURNS @NAMESPACE at ."xxid"
 	AS '$libdir/xxid', '_Slony_I_xxidin'
-	LANGUAGE C;
+	LANGUAGE C STRICT;
 CREATE FUNCTION @NAMESPACE at ."xxidout"(@NAMESPACE at ."xxid") RETURNS cstring
 	AS '$libdir/xxid', '_Slony_I_xxidout'
 	LANGUAGE C;



More information about the Slony1-commit mailing list