pg_lo_export
Export a large object to file
&reftitle.description;
boolpg_lo_export
PgSql\Connectionconnection
intoid
stringpathname
pg_lo_export takes a large object in a
PostgreSQL database and saves its contents to a file on the local
filesystem.
To use the large object interface, it is necessary to
enclose it within a transaction block.
This function used to be called pg_loexport.
&reftitle.parameters;
connection
&pgsql.parameter.connection-with-unspecified-default;
oid
The OID of the large object in the database.
pathname
The full path and file name of the file in which to write the
large object on the client filesystem.
&reftitle.returnvalues;
&return.success;
&reftitle.changelog;
&Version;
&Description;
&pgsql.changelog.connection-object;
&reftitle.examples;
pg_lo_export example
]]>
&reftitle.seealso;
pg_lo_import