pg_lo_export conn lobjId filename
Specifies a valid database connection.
Large object identifier.
Unix file name.
None
pg_lo_export writes the specified large object into a Unix file.
pg_lo_export must be called within a BEGIN/END transaction block.