r2006: debian
[clsql.git] / sql / package.cl
index 48c5da9875e362a43ca326acb993b923b2ad6d1c..ec93e1e623a1c5ffdf7967005ffb50a74c76e48d 100644 (file)
@@ -8,7 +8,7 @@
 ;;;;                Original code by Pierre R. Mai 
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: package.cl,v 1.1 2002/03/23 14:04:54 kevin Exp $
+;;;; $Id: package.cl,v 1.14 2002/05/11 22:37:46 kevin Exp $
 ;;;;
 ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;; and Copyright (c) 1999-2001 by Pierre R. Mai
@@ -23,7 +23,6 @@
 
 ;;;; This file makes the required package definitions for CLSQL's
 ;;;; core packages.
-;;;; 
 
 (eval-when (:compile-toplevel :load-toplevel :execute)
 (defpackage :clsql-sys
@@ -32,6 +31,7 @@
      ;; "Private" exports for use by interface packages
      #:check-connection-spec
      #:database-type-load-foreign
+     #:database-type-library-loaded ;; KMR - Tests if foreign library okay
      #:database-initialize-database-type
      #:database-connect
      #:database-disconnect
      #:database-query-result-set
      #:database-dump-result-set
      #:database-store-next-row
+     
+     ;; For UncommonSQL support
+     #:database-list-tables
+     #:database-list-attributes
+     #:database-attribute-type
+     #:database-create-sequence 
+     #:database-drop-sequence
+     #:database-sequence-next
+     #:sql-escape
+
+     ;; Support for pooled connections
+     #:database-type
+
+     ;; Large objects (Marc B)
+     #:database-create-large-object
+     #:database-write-large-object
+     #:database-read-large-object
+     #:database-delete-large-object
+     
      ;; Shared exports for re-export by CLSQL
+
      .
      #1=(#:clsql-condition
         #:clsql-error
         #:execute-command
         #:map-query
         #:do-query
+
+        ;; functional.cl
         #:insert-records
         #:delete-records
         #:update-records
-        #:select
-        #:with-database))
+        #:with-database
+        
+        ;; utils.cl
+        #:number-to-sql-string
+        #:float-to-sql-string
+        #:sql-escape-quotes
+
+        ;; For UncommonSQL support
+        #:sql-ident
+        #:list-tables
+        #:list-attributes
+        #:attribute-type
+        #:create-sequence 
+        #:drop-sequence
+        #:sequence-next
+
+        ;; Pooled connections
+        #:disconnect-pooled
+
+        ;; Transactions
+        #:with-transaction
+        #:commit-transaction
+        #:rollback-transaction
+        #:add-transaction-commit-hook
+        #:add-transaction-rollback-hook
+
+        ;; Large objects (Marc B)
+        #:create-large-object
+        #:write-large-object
+        #:read-large-object
+        #:delete-large-object
+        ))
     (:documentation "This is the INTERNAL SQL-Interface package of CLSQL."))
 
 (defpackage #:clsql