This *should* fix the large binary object problem in libpq++ from the
TODO list. Vince
This commit is contained in:
parent
0e1bfe92c7
commit
95d1f5fa6d
@ -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();
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user