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.2 reached end of support in February 2007. See the current manual for supported releases.

pg_lo_creat

Name

pg_lo_creat -- create a large object

Synopsis

pg_lo_creat conn mode

Inputs

conn

Specifies a valid database connection.

mode

Specifies the access mode for the large object

Outputs

objOid

The oid of the large object created.

Description

pg_lo_creat creates an Inversion Large Object.

Usage

mode can be any or'ing together of INV_READ and INV_WRITE. The "or" operator is |.

[pg_lo_creat $conn "INV_READ|INV_WRITE"]

Report a documentation issue

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