export method
Exports a large object to a local file
Implementation
void export(int oid, String filename, {Allocator allocator = malloc}) {
if (psql.pq.lo_export(psql.conn, oid,
filename.asCharP(allocator: allocator, encoding: psql.encoding)) <
0) throw LibPqException(psql.lastErrorMessage);
}