48#define IFS_RDLOCK (1 << 0)
49#define IFS_WRLOCK (1 << 1)
70#define LOBLKSIZE (BLCKSZ / 4)
76#define MAX_LARGE_OBJECT_SIZE ((int64) INT_MAX * LOBLKSIZE)
LargeObjectDesc * inv_open(Oid lobjId, int flags, MemoryContext mcxt)
void inv_truncate(LargeObjectDesc *obj_desc, int64 len)
struct LargeObjectDesc LargeObjectDesc
int inv_read(LargeObjectDesc *obj_desc, char *buf, int nbytes)
Oid inv_create(Oid lobjId)
int64 inv_seek(LargeObjectDesc *obj_desc, int64 offset, int whence)
void close_lo_relation(bool isCommit)
int inv_write(LargeObjectDesc *obj_desc, const char *buf, int nbytes)
int64 inv_tell(LargeObjectDesc *obj_desc)
void inv_close(LargeObjectDesc *obj_desc)
PGDLLIMPORT bool lo_compat_privileges