pg_lo_import -- import a large object from a file
pg_lo_import conn filename
Specifies a valid database connection.
Unix file name.
pg_lo_import reads the specified file and places the contents into a large object.
pg_lo_import must be called within a BEGIN/END transaction block.