summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq++/pglobject.cc
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-06-15 18:49:29 +0000
committerBruce Momjian <bruce@momjian.us>2002-06-15 18:49:29 +0000
commit2e58024066e1ddf63d729ffb42077938fe25a9bf (patch)
tree8af75e9dd7c45531ea18c44322eb628af57162dd /src/interfaces/libpq++/pglobject.cc
parent133df7ce70749156a6115ef49ef7d52e0c584adc (diff)
This patch fixes a few minor problems with libpq++: remove the deprecated
PQExec(" ") in the wrapper around PQnotifies(), fix the Makefile for the examples so that they will actually compile properly (with the exception of #5, which depends on internal headers), make a minor change to libpq++.h so that "make examples" now works on my machine, update some documentation, fix some grammatical problems, and remove some of the more hideous comments. Neil Conway
Diffstat (limited to 'src/interfaces/libpq++/pglobject.cc')
-rw-r--r--src/interfaces/libpq++/pglobject.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/libpq++/pglobject.cc b/src/interfaces/libpq++/pglobject.cc
index 6bf5e304438..95e63c17df3 100644
--- a/src/interfaces/libpq++/pglobject.cc
+++ b/src/interfaces/libpq++/pglobject.cc
@@ -10,7 +10,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pglobject.cc,v 1.8 2001/09/30 22:30:37 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pglobject.cc,v 1.9 2002/06/15 18:49:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -104,7 +104,7 @@ void PgLargeObject::Open()
}
// PgLargeObject::unlink
-// destruct large object and delete from it from the database
+// destroy large object and delete from it from the database
int PgLargeObject::Unlink()
{
// Unlink the object
@@ -155,13 +155,13 @@ int PgLargeObject::Tell() const
Oid PgLargeObject::Import(const char* filename)
{
- return pgObject = lo_import(pgConn, (char*)filename);
+ return pgObject = lo_import(pgConn, filename);
}
int PgLargeObject::Export(const char* filename)
{
- return lo_export(pgConn, pgObject, (char*)filename);
+ return lo_export(pgConn, pgObject, filename);
}