X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fobjects.lisp;h=cb158d296957b4aea192dd8859c0451ebf8fb388;hb=1dda729b250779079efbdc1d3f6bbb3ae4a20ba4;hp=0232917ff4662b7ca80ae62d79b75b86cfd4c08d;hpb=f69c5bfba59d54628f9a08b83413ec3df3c92432;p=clsql.git diff --git a/sql/objects.lisp b/sql/objects.lisp index 0232917..cb158d2 100644 --- 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))))