Wed Jan 3 07:49:42 PST 2007
- Previous message: [Slony1-commit] By cbbrowne: Change xxid Makefile rules so that xxid.v74.sql file
- Next message: [Slony1-commit] By devrim: - Add docs package (It should be added before but...)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Define xxidin,xxidout,xxid_snapshot_in and xxid_snapshot_out as STRICT. They don't check for NULL input, so they could crash the backend.
Modified Files:
--------------
slony1-engine/src/xxid:
xxid.v74.sql (r1.2 -> r1.3)
-------------- next part --------------
Index: xxid.v74.sql
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/xxid/xxid.v74.sql,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lsrc/xxid/xxid.v74.sql -Lsrc/xxid/xxid.v74.sql -u -w -r1.2 -r1.3
--- 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,10 +14,10 @@
--
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;
+ LANGUAGE C STRICT;
--
@@ -146,11 +146,11 @@
CREATE FUNCTION @NAMESPACE at ."xxid_snapshot_in"(cstring)
RETURNS @NAMESPACE at ."xxid_snapshot"
AS '$libdir/xxid', '_Slony_I_xxid_snapshot_in'
- LANGUAGE C;
+ LANGUAGE C STRICT;
CREATE FUNCTION @NAMESPACE at ."xxid_snapshot_out"(@NAMESPACE at ."xxid_snapshot")
RETURNS cstring
AS '$libdir/xxid', '_Slony_I_xxid_snapshot_out'
- LANGUAGE C;
+ LANGUAGE C STRICT;
--
- Previous message: [Slony1-commit] By cbbrowne: Change xxid Makefile rules so that xxid.v74.sql file
- Next message: [Slony1-commit] By devrim: - Add docs package (It should be added before but...)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list