X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=interfaces%2Fpostgresql%2Fpostgresql-usql.cl;h=4633f390e964b57cb4d8a7fd3a2dd267e8a24552;hb=27635f61adae5a49f9986762acf13daa0437826b;hp=692bcde4f6cb4422341dec6a59e384250fa0fa38;hpb=aaa79d92bdb60acdf709df806fbd5a3836937a2e;p=clsql.git diff --git a/interfaces/postgresql/postgresql-usql.cl b/interfaces/postgresql/postgresql-usql.cl index 692bcde..4633f39 100644 --- 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 ;;;; -;;;; $Id: postgresql-usql.cl,v 1.2 2002/04/07 15:11:04 kevin Exp $ +;;;; $Id: postgresql-usql.cl,v 1.4 2002/05/15 17:10:28 kevin Exp $ ;;;; ;;;; 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 - "SELECT attname FROM pg_class,pg_attribute WHERE pg_class.oid=attrelid AND relname='~A'" relname) + "SELECT attname FROM pg_class,pg_attribute WHERE pg_class.oid=attrelid AND relname='~A'" table) database nil)))) (if result (reverse @@ -84,6 +84,9 @@ (concatenate 'string "SELECT NEXTVAL ('" (sql-escape sequence-name) "')") database nil)))) +;; Functions depending upon high-level USQL classes/functions + +#| (defmethod database-output-sql ((expr clsql-sys::sql-typecast-exp) (database postgresql-database)) (with-slots (clsql-sys::modifier clsql-sys::components) @@ -103,3 +106,4 @@ (make-instance 'clsql-sys::sql-typecast-exp :modifier 'int8 :components val))) +|#