pg_lo_export

 bool pg_lo_export ([ resource $connection ], int $oid , string $pathname ) 

説明

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. Note: This function used to be called pg_loexport().

戻り値

Returns TRUE on success or FALSE on failure.