r1639: Initial revision
[clsql.git] / interfaces / postgresql / postgresql-package.cl
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          postgresql-package.cl
6 ;;;; Purpose:       Package definition for low-level PostgreSQL interface
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Feb 2002
9 ;;;;
10 ;;;; $Id: postgresql-package.cl,v 1.1 2002/03/23 14:04:53 kevin Exp $
11 ;;;;
12 ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
13 ;;;;
14 ;;;; CLSQL users are granted the rights to distribute and use this software
15 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
16 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
17 ;;;; *************************************************************************
18
19 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
20 (in-package :cl-user)
21
22 (defpackage :postgresql
23     (:nicknames :pgsql)
24     (:use :common-lisp)
25     (:export
26      #:pgsql-oid
27      #:pgsql-conn-status-type
28      #:pgsql-conn-status-type#connection-ok
29      #:pgsql-conn-status-type#connection-bad
30      #:pgsql-exec-status-type
31      #:pgsql-exec-status-type#empty-query
32      #:pgsql-exec-status-type#command-ok
33      #:pgsql-exec-status-type#tuples-ok
34      #:pgsql-exec-status-type#copy-out
35      #:pgsql-exec-status-type#copy-in
36      #:pgsql-exec-status-type#bad-response
37      #:pgsql-exec-status-type#nonfatal-error
38      #:pgsql-exec-status-type#fatal-error
39      #:pgsql-conn
40      #:pgsql-result
41
42      ;; Functions
43      #:PQsetdbLogin
44      #:PQlogin
45      #:PQfinish
46      #:PQstatus
47      #:PQerrorMessage
48      #:PQexec
49      #:PQresultStatus
50      #:PQresultErrorMessage
51      #:PQntuples
52      #:PQnfields
53      #:PQfname
54      #:PQfnumber
55      #:PQftype
56      #:PQfsize
57      #:PQcmdStatus
58      #:PQoidStatus
59      #:PQcmdTuples
60      #:PQgetvalue
61      #:PQgetlength
62      #:PQgetisnull
63      #:PQclear
64      )
65     (:documentation "This is the low-level interface to PostgreSQL."))
66
67