From: Bruce Momjian Date: Sat, 15 Jun 2002 19:30:40 +0000 (+0000) Subject: The method PgLargeObject::LOid() is missing an implementation in the .cc X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=60bc2a6fdb93c94e53f0d2c1f624c4ec1a13b49c;p=users%2Fbernd%2Fpostgres.git 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 --- diff --git a/src/interfaces/libpq++/pglobject.cc b/src/interfaces/libpq++/pglobject.cc index e94d905327..5383b27dd5 100644 --- a/src/interfaces/libpq++/pglobject.cc +++ b/src/interfaces/libpq++/pglobject.cc @@ -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; +}