aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-10-22 19:05:02 +0000
committerBruce Momjian <bruce@momjian.us>1999-10-22 19:05:02 +0000
commit95d1f5fa6dd94da1afcb692e64a2091e4de1b5f9 (patch)
treea5d5ff0aee0eaa545af2c05446b6fb8267e6901e /src
parent0e1bfe92c75975711cefb776a7518ee9468193f6 (diff)
downloadpostgresql-95d1f5fa6dd94da1afcb692e64a2091e4de1b5f9.tar.gz
postgresql-95d1f5fa6dd94da1afcb692e64a2091e4de1b5f9.zip
This *should* fix the large binary object problem in libpq++ from the
TODO list. Vince
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq++/libpq++.H4
-rw-r--r--src/interfaces/libpq++/pglobject.h6
2 files changed, 4 insertions, 6 deletions
diff --git a/src/interfaces/libpq++/libpq++.H b/src/interfaces/libpq++/libpq++.H
index 1906f012029..13c4b7ffecf 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.6 1999/10/06 03:00:16 momjian Exp $";
+static char rcsid[] = "$Id: libpq++.H,v 1.7 1999/10/22 19:05:02 momjian Exp $";
// ****************************************************************
@@ -123,7 +123,7 @@ public:
void Close();
int Read(char* buf, int len);
int Write(const char* buf, int len);
- int Lseek(int offset, int whence);
+ int LSeek(int offset, int whence);
int Tell();
int Unlink();
Oid LOid();
diff --git a/src/interfaces/libpq++/pglobject.h b/src/interfaces/libpq++/pglobject.h
index 7d7c160583a..fa8dfe39603 100644
--- a/src/interfaces/libpq++/pglobject.h
+++ b/src/interfaces/libpq++/pglobject.h
@@ -10,7 +10,7 @@
* Copyright (c) 1994, Regents of the University of California
*
*
- * $Id: pglobject.h,v 1.2 1999/05/23 01:04:03 momjian Exp $
+ * $Id: pglobject.h,v 1.3 1999/10/22 19:05:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -34,6 +34,7 @@ private:
int pgFd;
Oid pgObject;
string loStatus;
+ void Init(Oid lobjId = 0);
public:
PgLargeObject(const char* conninfo = 0); // use reasonable defaults and create large object
@@ -52,9 +53,6 @@ public:
Oid Import(const char* filename);
int Export(const char* filename);
string Status();
-
-private:
- void Init(Oid lobjId = 0);
};
#endif // PGLOBJ_H