
POSTGRES Data Base Management System

Copyright (c) 1988 Regents of the University of California

Permission to use, copy, modify, and distribute this software and its
documentation for educational, research, and non-profit purposes and
without fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright notice and
this permission notice appear in supporting documentation, and that
the name of the University of California not be used in advertising
or publicity pertaining to distribution of the software without
specific, written prior permission.  Permission to incorporate this
software into commercial products can be obtained from the Campus
Software Office, 295 Evans Hall, University of California, Berkeley,
Ca., 94720 provided only that the the requestor give the University
of California a free licence to any derived software for educational
and research purposes.  The University of California makes no
representations about the suitability of this software for any
purpose.  It is provided "as is" without express or implied warranty.

$Header: RCS/README,v 1.4 90/09/25 16:33:48 kemnitz Exp $

This directory contains the C version of Libpq, the POSTGRES frontend library.

The functions in Libpq will be documented in the POSTGRES Reference Manual.
Before that happens, the users can consult the documentation of the Lisp
version of Libpq and the header file libpq.h.  

To use this library, put "#include libpq.h" in your C file.  
Compile your C file with the flag "-I/usr/postgres/src/lib/H/tmp" 
and link it with libpq.a.

A sample program is in src/test/testlibpq.c.

Functions are not thoroughly tested.  There is a bug with the Exception 
Handling code.  The error messages are not generated correctly.
