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