select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 6.3
Historical version. PostgreSQL 6.3 reached end of support in March 2003. See the current manual for supported releases.
pg_lo_lseek
PostgreSQL
Prev Next

pg_lo_lseek

Name

pg_lo_lseek — seek to a position on a large object
pg_lo_lseek conn fd offset whence

Inputs

conn

Specifies a valid database connection.

fd

File descriptor for the large object from pg_lo_open.

offset

Specifies a zero-based offset in bytes.

whence

whence can be "SEEK_CUR", "SEEK_END", or "SEEK_SET"

Outputs

None

Description

pg_lo_lseek positions to offset bytes from the beginning of the large object.

Usage

whence can be "SEEK_CUR", "SEEK_END", or "SEEK_SET".


Prev Home Next
pg_lo_write Up pg_lo_tell

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.