pg_lo_tell

Example

 int pg_lo_tell ( resource $large_object ) 

Description

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.

Return Values

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.