r1657: Auto :types implemented for mysql,postgresql
[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.4 2002/03/25 14:13:41 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      #:pgsql-ftype#bytea
43      #:pgsql-ftype#int2
44      #:pgsql-ftype#int4
45      #:pgsql-ftype#float4
46      #:pgsql-ftype#float8
47      ;; Functions
48      #:PQsetdbLogin
49      #:PQlogin
50      #:PQfinish
51      #:PQstatus
52      #:PQerrorMessage
53      #:PQexec
54      #:PQresultStatus
55      #:PQresultErrorMessage
56      #:PQntuples
57      #:PQnfields
58      #:PQfname
59      #:PQfnumber
60      #:PQftype
61      #:PQfsize
62      #:PQcmdStatus
63      #:PQoidStatus
64      #:PQcmdTuples
65      #:PQgetvalue
66      #:PQgetlength
67      #:PQgetisnull
68      #:PQclear
69      )
70     (:documentation "This is the low-level interface to PostgreSQL."))
71
72