pg_loimport

(PHP 4 )

pg_loimport -- import a large object from file

Beschreibung

int pg_loimport (int file [, int connection_id])

The filename argument specifies the pathname of the file to be imported as a large object. Returns FALSE if an error occurred, object id of the just created large object otherwise. Remember that handling large objects in PostgreSQL must happen inside a transaction.