postgresql/src/interfaces/libpq++
Peter Eisentraut 335248c9b7 Support for DESTDIR make variable. This is used as in `make install
DESTDIR=/else/where' and prepends the value of DESTDIR to the full
installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows
users to install the package into a location different from the one that
was configured and hard-coded into various scripts, e.g., for creating
binary packages.

DESTDIR is in many cases preferrable over `make install
prefix=/else/where' because

a) `prefix' affects the path that is hard-coded into the files, which can
lead to a `make install prefix=xxx' (as done by the regression test
driver) corrupting the files in the source tree with wrong paths.

b) it doesn't work at all if a directory was overridden to not depend on
`prefix', e.g., --sysconfdir=/etc.

(Updating the regression test driver to use DESTDIR is a separate
undertaking.)

See also autoconf@gnu.org, From: Akim Demaille <akim@epita.fr>, Date: 08
Sep 2000 12:48:59 +0200, Message-ID:
<mv4em2vb1lw.fsf@nostromo.lrde.epita.fr>, Subject: Re: HTML format
documentation.
2000-09-17 13:02:52 +00:00
..
examples Remove fmgrstamp-h business -- not needed and confusing 2000-06-17 00:10:40 +00:00
CHANGES Rename libpq++.H to libpq++.h. 1999-12-03 17:35:05 +00:00
dependencies Here it is. Remove or rename the current interfaces/libpq++ and untar 1999-05-23 01:04:07 +00:00
libpq++.h Remove broken tracing code (which would be dangerous if it did work...) 2000-04-22 22:39:15 +00:00
Makefile Support for DESTDIR make variable. This is used as in `make install 2000-09-17 13:02:52 +00:00
pgconnection.cc Here is a bug and patch to fix it. I have tested this bug and fix on 2000-07-27 19:44:01 +00:00
pgconnection.h Here is a bug and patch to fix it. I have tested this bug and fix on 2000-07-27 19:44:01 +00:00
pgcursordb.cc forgot to attach the patch. :( 1999-06-01 02:43:37 +00:00
pgcursordb.h Remove broken tracing code (which would be dangerous if it did work...) 2000-04-22 22:39:15 +00:00
pgdatabase.cc A few minor psql enhancements 2000-01-29 16:58:54 +00:00
pgdatabase.h Remove broken tracing code (which would be dangerous if it did work...) 2000-04-22 22:39:15 +00:00
pglobject.cc Remove broken tracing code (which would be dangerous if it did work...) 2000-04-22 22:39:15 +00:00
pglobject.h Remove broken tracing code (which would be dangerous if it did work...) 2000-04-22 22:39:15 +00:00
pgtransdb.cc Replace static rcsid[] strings by IDENTIFICATION comments in 1999-05-30 15:17:58 +00:00
pgtransdb.h Remove broken tracing code (which would be dangerous if it did work...) 2000-04-22 22:39:15 +00:00
README Here it is. Remove or rename the current interfaces/libpq++ and untar 1999-05-23 01:04:07 +00:00
TODO Remove libpq++ todo item. 1999-10-22 19:13:39 +00:00

Based on the original work by William Wanders (wwanders@sci.kun.nl)
and Jolly Chen (jolly@cs.berkeley.edu), this is the first set of
changes to libpq++ since ~1997.  Pgenv has been removed, deprecated 
functions removed and/or updated and error handling rewritten, 
however for the most part it remains as a wrapper around libpq.
The documentation on libpq is recommended reading to understand 
the function of libpq++.

The API provided herein is subject to change in later versions of 
PostgreSQL.

For details on how to to use libpq++, see the man page in the man/
subdirectory and the test programs in the examples/ subdirectory.

** PgConnection has been changed to accept either the environment
variables or conninfo style strings.  See the PQconnectdb in the
documentation on libpq for details.

libpq++ has only been tested with g++, version 2.7.2.1

Vince Vielhaber (vev@michvhf.com)
Tue May 18 08:30:00 EDT 1999