mirror of
https://github.com/postgres/postgres.git
synced 2026-03-02 21:30:36 -05:00
libpq++.h contained copies of the class declarations in the other libpq++ include files, which was bogus enough, but the declarations were not completely in step with the real declarations. Remove these in favor of including the headers with #include. Make PgConnection destructor virtual (not absolutely necessary, but seems like a real good idea considering the number of subclasses derived from it). Give all classes declared private copy constructors and assignment operators, to prevent compiler from thinking it can copy these objects safely.
33 lines
940 B
C
33 lines
940 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* libpq++.h
|
|
*
|
|
*
|
|
* DESCRIPTION
|
|
* C++ client interface to Postgres
|
|
* used for building front-end applications
|
|
*
|
|
* NOTES
|
|
* This is intended to be included by client applications.
|
|
* It will not work as an inclusion in the libpq++ sources, since
|
|
* in the build environment the individual include files are not
|
|
* yet installed in a subdirectory.
|
|
*
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: libpq++.h,v 1.9 2000/04/22 22:39:15 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef LIBPQXX_H
|
|
#define LIBPQXX_H
|
|
|
|
#include "libpq++/pgconnection.h"
|
|
#include "libpq++/pgdatabase.h"
|
|
#include "libpq++/pglobject.h"
|
|
#include "libpq++/pgtransdb.h"
|
|
#include "libpq++/pgcursordb.h"
|
|
|
|
#endif /* LIBPQXX_H */
|