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.1 reached end of support in April 2006. See the current manual for supported releases.

pg_lo_write

Name

pg_lo_write -- write a large object

Synopsis

pg_lo_write conn fd buf len

Inputs

conn

Specifies a valid database connection.

fd

File descriptor for the large object from pg_lo_open.

buf

Specifies a valid string variable to write to the large object.

len

Specifies the maximum size of the string to write.

Outputs

None

Description

pg_lo_write writes at most len bytes to a large object from a variable buf.

Usage

buf must be the actual string to write, not a variable name.

Report a documentation issue

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