mirror of
https://github.com/postgres/postgres.git
synced 2026-04-03 00:05:41 -04:00
on connection. This patch changes it to use PQconnectdb rather than
{fe_setauthsvc,PQsetdb}. This still isn't the complete solution, as
there
is no provision for user,password in class PgEnv, but it does get rid of
the error message. Tested with gcc version egcs-2.91.60 19981201
(egcs-1.1.1 release) under NetBSD-1.3K/i386.
Cheers,
Patrick Welche
|
||
|---|---|---|
| .. | ||
| examples | ||
| dependencies | ||
| libpq++.H | ||
| libpq++.h | ||
| Makefile.in | ||
| pgconnection.cc | ||
| pgconnection.h | ||
| pgcursordb.cc | ||
| pgcursordb.h | ||
| pgdatabase.h | ||
| pgenv.cc | ||
| pgenv.h | ||
| pglobject.cc | ||
| pglobject.h | ||
| pgtransdb.cc | ||
| pgtransdb.h | ||
| README | ||
This directory contains libpq++, the C++ language interface to POSTGRESQL. libpq++ is implemented on of the libpq library. Users would benefit from reading the chapter on libpq in the PostgreSQL users manual before using libpq++. The initial version of this implementation was done by William Wanders (wwanders@sci.kun.nl) This is only a preliminary attempt at providing something useful for people who would like to use C++ to build frontend applications to PostgreSQL. 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. libpq++ has been tested with g++, version 2.7.0 - Jolly Chen jolly@cs.berkeley.edu Tue Sep 5 11:09:51 PDT 1995