select open change scope Open full search

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

Unsupported versions: 7.4 / 7.3 / 7.2 / 7.1
Historical version. PostgreSQL 7.4 reached end of support in October 2010. See the current manual for supported releases.

pg_lo_open

Name

pg_lo_open -- open a large object

Synopsis

pg_lo_open conn loid mode

Description

pg_lo_open opens a large object.

Arguments

conn

The handle of a connection to the database in which the large object exists.

loid

The OID of the large object.

mode

Specifies the access mode for the large object. Mode can be either r, w, or rw.

Return Value

A descriptor for use in later large-object commands.

Report a documentation issue

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