* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgconnection.cc,v 1.11 2001/05/09 17:29:10 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgconnection.cc,v 1.12 2001/09/30 22:30:37 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#include "pgconnection.h"
+#ifdef HAVE_NAMESPACE_STD
using namespace std;
+#endif
// ****************************************************************
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pgconnection.h,v 1.13 2001/08/24 14:07:49 petere Exp $
+ * $Id: pgconnection.h,v 1.14 2001/09/30 22:30:37 tgl Exp $
*
*-------------------------------------------------------------------------
*/
};
-#ifdef HAVE_NAMESPACE_STD
#undef PGSTD
-#endif
-
#endif // PGCONNECTION_H
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgcursordb.cc,v 1.5 2001/05/09 17:29:10 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgcursordb.cc,v 1.6 2001/09/30 22:30:37 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#include "pgcursordb.h"
-
+#ifdef HAVE_NAMESPACE_STD
using namespace std;
+#endif
// ****************************************************************
* Portions Copyright (c) 1994, Regents of the University of California
*
*
- * $Id: pgcursordb.h,v 1.8 2001/07/11 22:12:43 momjian Exp $
+ * $Id: pgcursordb.h,v 1.9 2001/09/30 22:30:37 tgl Exp $
*
*-------------------------------------------------------------------------
*/
}; // End PgCursor Class Declaration
-#ifdef HAVE_NAMESPACE_STD
#undef PGSTD
-#endif
#endif // PGCURSORDB_H
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgdatabase.cc,v 1.11 2001/05/09 17:46:11 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgdatabase.cc,v 1.12 2001/09/30 22:30:37 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#include "pgdatabase.h"
-
+#ifdef HAVE_NAMESPACE_STD
using namespace std;
+#endif
// OBSOLESCENT (uses PQprint(), which is no longer being maintained)
po.header = printHeader;
po.align = fillAlign;
po.standard = po.html3 = po.expanded = po.pager = 0;
- po.fieldSep = const_cast<char *>(fieldSep);
+ po.fieldSep = (char *) (fieldSep);
po.tableOpt = po.caption = 0;
po.fieldName = 0;
po.align = fillAlign;
po.standard = po.html3 = po.expanded = po.pager = 0;
po.tableOpt = po.caption = 0;
- po.fieldSep = const_cast<char *>(terseOutput ? "" : "|");
+ po.fieldSep = (char *) (terseOutput ? "" : "|");
po.fieldName = 0;
PQprint(out,pgResult,&po);
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pglobject.cc,v 1.7 2001/05/09 17:29:10 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pglobject.cc,v 1.8 2001/09/30 22:30:37 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#include "libpq/libpq-fs.h"
}
-
+#ifdef HAVE_NAMESPACE_STD
using namespace std;
+#endif
// ****************************************************************
* Portions Copyright (c) 1994, Regents of the University of California
*
*
- * $Id: pglobject.h,v 1.8 2001/07/11 22:12:43 momjian Exp $
+ * $Id: pglobject.h,v 1.9 2001/09/30 22:30:37 tgl Exp $
*
*-------------------------------------------------------------------------
*/
};
-#ifdef HAVE_NAMESPACE_STD
#undef PGSTD
-#endif
-
#endif // PGLOBJECT_H