aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-06-15 19:30:40 +0000
committerBruce Momjian <bruce@momjian.us>2002-06-15 19:30:40 +0000
commit240de617fbfebea029c1dc057708d9f0f2431ac5 (patch)
tree493fb4d8d1095b87550bb5cb465a5dedb06fc285
parentd54ae2aff24c3aa9df605e5ec3d09042b7458a6c (diff)
downloadpostgresql-240de617fbfebea029c1dc057708d9f0f2431ac5.tar.gz
postgresql-240de617fbfebea029c1dc057708d9f0f2431ac5.zip
The method PgLargeObject::LOid() is missing an implementation in the .cc
file. The program seems to compile ok, but when linking a program that uses the call, g++ chokes with an undefined reference error. If you know how this problem might be fixed, list the solution below: --------------------------------------------------------------------- I include the code: Oid PgLargeObject::LOid(){ return pgObject; } in the .cc file. Chris Traylor
-rw-r--r--src/interfaces/libpq++/pglobject.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/interfaces/libpq++/pglobject.cc b/src/interfaces/libpq++/pglobject.cc
index 95e63c17df3..0c83b75298e 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.9 2002/06/15 18:49:29 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pglobject.cc,v 1.10 2002/06/15 19:30:40 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -121,7 +121,6 @@ int PgLargeObject::Unlink()
}
-
void PgLargeObject::Close()
{
if (pgFd >= 0) lo_close(pgConn, pgFd);
@@ -169,3 +168,7 @@ string PgLargeObject::Status() const
{
return loStatus;
}
+
+Oid PgLargeObject::LOid(){
+ return pgObject;
+}