Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 95d1f5f

Browse files
committed
This *should* fix the large binary object problem in libpq++ from the
TODO list. Vince
1 parent 0e1bfe9 commit 95d1f5f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/interfaces/libpq++/libpq++.H

Lines changed: 2 additions & 2 deletions
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.6 1999/10/06 03:00:16 momjian Exp $";
33+
static char rcsid[] = "$Id: libpq++.H,v 1.7 1999/10/22 19:05:02 momjian Exp $";
3434

3535

3636
// ****************************************************************
@@ -123,7 +123,7 @@ public:
123123
void Close();
124124
int Read(char* buf, int len);
125125
int Write(const char* buf, int len);
126-
int Lseek(int offset, int whence);
126+
int LSeek(int offset, int whence);
127127
int Tell();
128128
int Unlink();
129129
Oid LOid();

src/interfaces/libpq++/pglobject.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Copyright (c) 1994, Regents of the University of California
1111
*
1212
*
13-
* $Id: pglobject.h,v 1.2 1999/05/23 01:04:03 momjian Exp $
13+
* $Id: pglobject.h,v 1.3 1999/10/22 19:05:02 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -34,6 +34,7 @@ class PgLargeObject : public PgConnection {
3434
int pgFd;
3535
Oid pgObject;
3636
string loStatus;
37+
void Init(Oid lobjId = 0);
3738

3839
public:
3940
PgLargeObject(const char* conninfo = 0); // use reasonable defaults and create large object
@@ -52,9 +53,6 @@ class PgLargeObject : public PgConnection {
5253
Oid Import(const char* filename);
5354
int Export(const char* filename);
5455
string Status();
55-
56-
private:
57-
void Init(Oid lobjId = 0);
5856
};
5957

6058
#endif // PGLOBJ_H

0 commit comments

Comments
 (0)