loimport(filename)
The name of the file to be imported (string).
Object handling the PostgreSQL large object.
Bad argument type or too many arguments.
Invalid connection, or error during file import.
loimport() method allows to create large objects in a very simple way. You just give the name of a file containing the data to be use.