Skip to content

Commit 9eb6997

Browse files
committed
This *should* fix the large object segfault problem. Note linewrap may
be interfering with last line of patch. Vince.
1 parent e2b71e0 commit 9eb6997

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern "C" {
3030
#include "libpq-fe.h"
3131
}
3232

33-
static char rcsid[] = "$Id: libpq++.h,v 1.3 1999/12/03 17:35:05 momjian Exp $";
33+
static char rcsid[] = "$Id: libpq++.h,v 1.4 1999/12/05 19:29:37 momjian Exp $";
3434

3535

3636
// ****************************************************************
@@ -113,6 +113,11 @@ class PgDatabase : public PgConnection {
113113
//
114114
// ****************************************************************
115115
class PgLargeObject : public PgConnection {
116+
private:
117+
int pgFd;
118+
Oid pgObject;
119+
string loStatus;
120+
116121
public:
117122
PgLargeObject(const char* conninfo = 0); // use reasonable defaults and create large object
118123
PgLargeObject(Oid lobjId, const char* conninfo = 0); // use reasonable defaults and open large object

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy