|
From: <sub...@co...> - 2006-10-11 14:43:49
|
Author: phd
Date: 2006-10-11 08:43:45 -0600 (Wed, 11 Oct 2006)
New Revision: 2008
Modified:
SQLObject/docs/SQLObject.txt
Log:
Documentation patche from the bug 1496014: None in enumValues fails.
Modified: SQLObject/docs/SQLObject.txt
===================================================================
--- SQLObject/docs/SQLObject.txt 2006-10-11 14:43:12 UTC (rev 2007)
+++ SQLObject/docs/SQLObject.txt 2006-10-11 14:43:45 UTC (rev 2008)
@@ -1099,6 +1099,13 @@
``ENUM`` type, but will work with other databases too (storage
just won't be as efficient).
+ For PostgreSQL, EnumCol's are implemented using check constraints.
+ Due to the way PostgreSQL handles check constraints involving NULL,
+ specifying None as a member of an EnumCol will effectively mean that,
+ at the SQL level, the check constraint will be ignored (see
+ http://archives.postgresql.org/pgsql-sql/2004-12/msg00065.php for
+ more details).
+
`FloatCol`:
Floats.
|