+07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
+ * src/postgresql-socket/postgresql-socket-api.cl:
+ Fixed find-foreign-function call, eliminated crypt warning
+ * Makefiles:
+ Multiple improvements
+ * sql/usql.cl:
+ Moved functionality from low-level interfaces to this file
+ via generic functions
+
06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
* src/usql.cl:
Reinstated commented out sections
;;;; Programmers: Kevin M. Rosenberg and onShore Development Inc
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id: usql.cl,v 1.5 2002/04/06 22:41:37 kevin Exp $
+;;;; $Id: usql.cl,v 1.6 2002/04/07 15:11:21 kevin Exp $
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;; and onShore Development Inc
(self stream :type t)
(write-string (sql-output self) stream)))
+
+;; Methods for translating high-level table classes to low-level functions
+
+(defmethod database-list-attributes ((table sql-ident) database)
+ (database-list-attributes (string-downcase
+ (symbol-name (slot-value table 'name)))
+ database)
+ )
+
+(defmethod database-attribute-type (attribute (table sql-ident) database)
+ (database-attribute-type attribute (string-downcase
+ (symbol-name (slot-value table 'name)))
+ database))