r1768: moved high-level types from interface level
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 7 Apr 2002 15:11:21 +0000 (15:11 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 7 Apr 2002 15:11:21 +0000 (15:11 +0000)
ChangeLog
VERSION
sql/usql.cl

index fa48676fc3641fe66342d21438582e2db2a7b199..9e74ad411d8a53a1b1c085675051751f554f5319 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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
diff --git a/VERSION b/VERSION
index 907140c259111eab5bd64e171794f9e7645e2cc6..e209ab891f1a76871ab721f714ab61d7e2403dcd 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,4 +1,5 @@
-0.6.5
+0.6.6
+
 
 
 
index c140fc40b6338f905a75d595b9830cb007c55fda..d2a53eccd64868f36136ecd659493182ee37bbba 100644 (file)
@@ -8,7 +8,7 @@
 ;;;; 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
@@ -130,3 +130,16 @@ specifies the database to operation on, defaulting to
    (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))