int pg_lo_tell ( resource $large_object )
pg_lo_tell() returns the current position (offset from the beginning) of a large object. To use the large object interface, it is necessary to enclose it within a transaction block.
The current seek offset (in number of bytes) from the beginning of the large object. If there is an error, the return value is negative.