OSDN Git Service

This *should* fix the large object segfault problem. Note linewrap may
authorBruce Momjian <bruce@momjian.us>
Sun, 5 Dec 1999 19:29:37 +0000 (19:29 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 5 Dec 1999 19:29:37 +0000 (19:29 +0000)
be interfering with last line of patch.

Vince.

src/interfaces/libpq++/libpq++.h

index 5631ded..800b153 100644 (file)
@@ -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