projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r2192: Debian build
[clsql.git]
/
interfaces
/
postgresql
/
postgresql-usql.cl
diff --git
a/interfaces/postgresql/postgresql-usql.cl
b/interfaces/postgresql/postgresql-usql.cl
index eeee53b3e33505fecd64bd40f73e7cd6eac58c5c..3919dde261c560276b5349348b71bb7b198002dd 100644
(file)
--- a/
interfaces/postgresql/postgresql-usql.cl
+++ b/
interfaces/postgresql/postgresql-usql.cl
@@
-7,7
+7,7
@@
;;;; Programmers: Kevin M. Rosenberg and onShore Development Inc
;;;; Date Started: Mar 2002
;;;;
;;;; Programmers: Kevin M. Rosenberg and onShore Development Inc
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id: postgresql-usql.cl,v 1.
3 2002/05/15 17:03:4
3 kevin Exp $
+;;;; $Id: postgresql-usql.cl,v 1.
5 2002/06/12 17:47:1
3 kevin Exp $
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;; and by onShore Development Inc.
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;; and by onShore Development Inc.
@@
-39,7
+39,7
@@
(mapcar #'car
(database-query
(format nil
(mapcar #'car
(database-query
(format nil
- "SELECT attname FROM pg_class,pg_attribute WHERE pg_class.oid=attrelid AND relname='~A'"
relnam
e)
+ "SELECT attname FROM pg_class,pg_attribute WHERE pg_class.oid=attrelid AND relname='~A'"
tabl
e)
database nil))))
(if result
(reverse
database nil))))
(if result
(reverse
@@
-101,8
+101,7
@@
(defmethod database-output-sql-as-type ((type (eql 'integer)) val
(database postgresql-database))
(defmethod database-output-sql-as-type ((type (eql 'integer)) val
(database postgresql-database))
- ;; typecast it so it uses the indexes
- (when val
+ (when val ;; typecast it so it uses the indexes
(make-instance 'clsql-sys::sql-typecast-exp
:modifier 'int8
:components val)))
(make-instance 'clsql-sys::sql-typecast-exp
:modifier 'int8
:components val)))