September 26, 2024: PostgreSQL 17 Released!
Unsupported versions: 7.3 / 7.2 / 7.1
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

getlo

Name

getlo -- builds a large object from given oid [LO]

Synopsis

getlo(oid)

Parameters

oid

OID of the existing large object (integer).

Return Type

pglarge

Object handling the PostgreSQL large object.

Exceptions

TypeError

Bad argument type or too many arguments.

pg.error

Invalid connection.

Description

getlo() method allows to reuse a formerly created large object through the pglarge interface, providing the user have its oid.