File tree 7 files changed +17
-20
lines changed
7 files changed +17
-20
lines changed Original file line number Diff line number Diff line change 10
10
* Copyright (c) 1994, Regents of the University of California
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgconnection.cc,v 1.11 2001/05/09 17:29:10 momjian Exp $
13
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgconnection.cc,v 1.12 2001/09/30 22:30:37 tgl Exp $
14
14
*
15
15
*-------------------------------------------------------------------------
16
16
*/
17
17
18
18
#include " pgconnection.h"
19
19
20
+ #ifdef HAVE_NAMESPACE_STD
20
21
using namespace std ;
22
+ #endif
21
23
22
24
23
25
// ****************************************************************
Original file line number Diff line number Diff line change 13
13
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
14
14
* Portions Copyright (c) 1994, Regents of the University of California
15
15
*
16
- * $Id: pgconnection.h,v 1.13 2001/08/24 14:07:49 petere Exp $
16
+ * $Id: pgconnection.h,v 1.14 2001/09/30 22:30:37 tgl Exp $
17
17
*
18
18
*-------------------------------------------------------------------------
19
19
*/
@@ -96,9 +96,6 @@ class DLLIMPORT PgConnection {
96
96
};
97
97
98
98
99
- #ifdef HAVE_NAMESPACE_STD
100
99
#undef PGSTD
101
- #endif
102
-
103
100
104
101
#endif // PGCONNECTION_H
Original file line number Diff line number Diff line change 10
10
* Copyright (c) 1994, Regents of the University of California
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgcursordb.cc,v 1.5 2001/05/09 17:29:10 momjian Exp $
13
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgcursordb.cc,v 1.6 2001/09/30 22:30:37 tgl Exp $
14
14
*
15
15
*-------------------------------------------------------------------------
16
16
*/
17
17
18
18
#include " pgcursordb.h"
19
19
20
-
20
+ # ifdef HAVE_NAMESPACE_STD
21
21
using namespace std ;
22
+ #endif
22
23
23
24
24
25
// ****************************************************************
Original file line number Diff line number Diff line change 14
14
* Portions Copyright (c) 1994, Regents of the University of California
15
15
*
16
16
*
17
- * $Id: pgcursordb.h,v 1.8 2001/07/11 22:12:43 momjian Exp $
17
+ * $Id: pgcursordb.h,v 1.9 2001/09/30 22:30:37 tgl Exp $
18
18
*
19
19
*-------------------------------------------------------------------------
20
20
*/
@@ -78,9 +78,7 @@ class DLLIMPORT PgCursor : public PgTransaction {
78
78
}; // End PgCursor Class Declaration
79
79
80
80
81
- #ifdef HAVE_NAMESPACE_STD
82
81
#undef PGSTD
83
- #endif
84
82
85
83
#endif // PGCURSORDB_H
86
84
Original file line number Diff line number Diff line change 10
10
* Copyright (c) 1994, Regents of the University of California
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgdatabase.cc,v 1.11 2001/05/09 17:46:11 momjian Exp $
13
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgdatabase.cc,v 1.12 2001/09/30 22:30:37 tgl Exp $
14
14
*
15
15
*-------------------------------------------------------------------------
16
16
*/
17
17
18
18
#include " pgdatabase.h"
19
19
20
-
20
+ # ifdef HAVE_NAMESPACE_STD
21
21
using namespace std ;
22
+ #endif
22
23
23
24
24
25
// OBSOLESCENT (uses PQprint(), which is no longer being maintained)
@@ -33,7 +34,7 @@ void PgDatabase::DisplayTuples(FILE *out,
33
34
po.header = printHeader;
34
35
po.align = fillAlign;
35
36
po.standard = po.html3 = po.expanded = po.pager = 0 ;
36
- po.fieldSep = const_cast < char *> (fieldSep);
37
+ po.fieldSep = ( char *) (fieldSep);
37
38
po.tableOpt = po.caption = 0 ;
38
39
po.fieldName = 0 ;
39
40
@@ -54,7 +55,7 @@ void PgDatabase::PrintTuples(FILE *out,
54
55
po.align = fillAlign;
55
56
po.standard = po.html3 = po.expanded = po.pager = 0 ;
56
57
po.tableOpt = po.caption = 0 ;
57
- po.fieldSep = const_cast < char *> (terseOutput ? " " : " |" );
58
+ po.fieldSep = ( char *) (terseOutput ? " " : " |" );
58
59
po.fieldName = 0 ;
59
60
60
61
PQprint (out,pgResult,&po);
Original file line number Diff line number Diff line change 10
10
* Copyright (c) 1994, Regents of the University of California
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pglobject.cc,v 1.7 2001/05/09 17:29:10 momjian Exp $
13
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pglobject.cc,v 1.8 2001/09/30 22:30:37 tgl Exp $
14
14
*
15
15
*-------------------------------------------------------------------------
16
16
*/
@@ -21,8 +21,9 @@ extern "C" {
21
21
#include " libpq/libpq-fs.h"
22
22
}
23
23
24
-
24
+ # ifdef HAVE_NAMESPACE_STD
25
25
using namespace std ;
26
+ #endif
26
27
27
28
28
29
// ****************************************************************
Original file line number Diff line number Diff line change 11
11
* Portions Copyright (c) 1994, Regents of the University of California
12
12
*
13
13
*
14
- * $Id: pglobject.h,v 1.8 2001/07/11 22:12:43 momjian Exp $
14
+ * $Id: pglobject.h,v 1.9 2001/09/30 22:30:37 tgl Exp $
15
15
*
16
16
*-------------------------------------------------------------------------
17
17
*/
@@ -68,9 +68,6 @@ class DLLIMPORT PgLargeObject : public PgConnection {
68
68
};
69
69
70
70
71
- #ifdef HAVE_NAMESPACE_STD
72
71
#undef PGSTD
73
- #endif
74
-
75
72
76
73
#endif // PGLOBJECT_H
You can’t perform that action at this time.
0 commit comments