(PHP 4 >= 4.2.0)
pg_lo_tell() returns current position (offset from the beginning of large object).
See also pg_lo_seek().