A large object.
NOTE:
Working with large objects requires an active transaction.
int
$oid#resource
$stream#Open or create a large object.
void
pq\LOB::__construct(pq\Transaction $txn[, int
$oid = pq\LOB::INVALID_OID[, int
$mode = pq\LOB::RW]])
Read a string
of data from the current position of the large object.
string
pq\LOB::read([int
$length = 0x1000[, int
&$read = NULL
]])
Seek to a position within the large object.
int
pq\LOB::seek(int
$offset[, int
$whence = SEEK_SET])
Retrieve the current position within the large object.
Truncate the large object.
void
pq\LOB::truncate([int
$length = 0])
Write data to the large object.
int
pq\LOB::write(string
$data)