pg_lo_read
Read a large object
&reftitle.description;
stringfalsepg_lo_read
PgSql\Loblob
intlength8192
pg_lo_read reads at most
length bytes from a large object and
returns it as a string.
To use the large object interface, it is necessary to
enclose it within a transaction block.
This function used to be called pg_loread.
&reftitle.parameters;
lob
&pgsql.parameter.lob;
length
An optional maximum number of bytes to return.
&reftitle.returnvalues;
A string containing length bytes from the
large object, or &false; on error.
&reftitle.changelog;
&Version;
&Description;
&pgsql.changelog.lob-object;
&reftitle.examples;
pg_lo_read example
]]>
&reftitle.seealso;
pg_lo_read_all