Check-in Number:
|
5670 | |
Date: |
2006-Nov-20 21:10:27 (local)
2006-Nov-20 20:10:27 (UTC) |
User: | rse |
Branch: | |
Comment: |
Disable PostgreSQL "(CSTRING AS uuid)" and "(uuid AS CSTRING)"
CASTS as PostgreSQL 8.2 and higher explicitly disallow this.
Submitted by: David Wheeler <david@kineticode.com> |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/uuid/ChangeLog 1.139 -> 1.140
--- ChangeLog 2006/11/20 20:00:52 1.139
+++ ChangeLog 2006/11/20 20:10:27 1.140
@@ -13,6 +13,10 @@
Changes between 1.5.1 and 1.6.0 (31-Jul-2006 to 05-Oct-2006)
+ o Disable PostgreSQL "(CSTRING AS uuid)" and "(uuid AS CSTRING)"
+ CASTS as PostgreSQL 8.2 and higher explicitly disallow this.
+ [David Wheeler <david@kineticode.com>, Ralf S. Engelschall]
+
o Fix PostgreSQL bindings by mapping the correct DSO symbol
to the functions "uuid_send" and "uuid_recv".
[Ralf S. Engelschall]
|
|
ossp-pkg/uuid/pgsql/uuid.sql.in 1.7 -> 1.8
--- uuid.sql.in 2006/11/20 20:00:52 1.7
+++ uuid.sql.in 2006/11/20 20:10:28 1.8
@@ -103,11 +103,11 @@
COMMENT ON TYPE uuid
IS 'UUID type';
-CREATE CAST (CSTRING AS uuid)
- WITH FUNCTION uuid_in(CSTRING) AS ASSIGNMENT;
-
-CREATE CAST (uuid AS CSTRING)
- WITH FUNCTION uuid_out(uuid) AS ASSIGNMENT;
+-- CREATE CAST (CSTRING AS uuid)
+-- WITH FUNCTION uuid_in(CSTRING) AS ASSIGNMENT;
+--
+-- CREATE CAST (uuid AS CSTRING)
+-- WITH FUNCTION uuid_out(uuid) AS ASSIGNMENT;
--
-- the UUID constructor function
|
|