This page in other versions: Unsupported versions: 6.4 / 6.5 / 7.0

pg_lo_read

Name

pg_lo_read — read a large object
pg_lo_read conn fd bufVar len

Inputs

conn

Specifies a valid database connection.

fd

File descriptor for the large object from pg_lo_open.

bufVar

Specifies a valid buffer variable to contain the large object segment.

len

Specifies the maximum allowable size of the large object segment.

Outputs

None

Description

pg_lo_read reads at most len bytes from a large object into a variable named bufVar.

Usage

bufVar must be a valid variable name.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group