projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r9211: add *backend-warning-behavior
[clsql.git]
/
sql
/
objects.lisp
diff --git
a/sql/objects.lisp
b/sql/objects.lisp
index 0232917ff4662b7ca80ae62d79b75b86cfd4c08d..cb158d296957b4aea192dd8859c0451ebf8fb388 100644
(file)
--- a/
sql/objects.lisp
+++ b/
sql/objects.lisp
@@
-664,6
+664,10
@@
superclass of the newly-defined View Class."
(etypecase val
(string (if (string= "0" val) nil t))
(integer (if (zerop val) nil t))))
+ (:postgresql
+ (if (eq :odbc (database-type database))
+ (if (string= "0" val) nil t)
+ (equal "t" val)))
(t
(equal "t" val))))