From: Bruce Momjian Date: Sun, 5 Dec 1999 19:29:37 +0000 (+0000) Subject: This *should* fix the large object segfault problem. Note linewrap may X-Git-Tag: REL7_0~1090 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9eb69977fe53b70a76d743278d0a2393a495c231;p=postgresql This *should* fix the large object segfault problem. Note linewrap may be interfering with last line of patch. Vince. --- diff --git a/src/interfaces/libpq++/libpq++.h b/src/interfaces/libpq++/libpq++.h index 5631ded2f7..800b153c12 100644 --- a/src/interfaces/libpq++/libpq++.h +++ b/src/interfaces/libpq++/libpq++.h @@ -30,7 +30,7 @@ extern "C" { #include "libpq-fe.h" } -static char rcsid[] = "$Id: libpq++.h,v 1.3 1999/12/03 17:35:05 momjian Exp $"; +static char rcsid[] = "$Id: libpq++.h,v 1.4 1999/12/05 19:29:37 momjian Exp $"; // **************************************************************** @@ -113,6 +113,11 @@ public: // // **************************************************************** class PgLargeObject : public PgConnection { +private: + int pgFd; + Oid pgObject; + string loStatus; + public: PgLargeObject(const char* conninfo = 0); // use reasonable defaults and create large object PgLargeObject(Oid lobjId, const char* conninfo = 0); // use reasonable defaults and open large object