object seek
object seek

pg_lo_tell Returns current seek position a of 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.
large_object PostgreSQL large object (LOB) resource, returned by pg_lo_open() .
PostgreSQL large object (LOB) resource, returned by pg_lo_open() .
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.
pg_lo_seek() - Seeks position within a large object
The PyObject_CallMethod function can be used to call an arbitrary method of an object. The parameters are the object, the name of the method to call, a format string like that used with Py_BuildValue, and the argument values:
This works for any object that has methods whether built-in or user-defined. You are responsible for eventually Py_DECREFing the return value.
To call, e.g., a file objects seek method with arguments 10, 0 (assuming the file object pointer is f):
We offer object seek
object seek, object, seek,
