Loadable Function: pq_lo_export (connection, oid, path)

Exports the large object of Oid oid in the database associated with connection to the file path on the client side. If path starts with a |, it is taken as a shell commant to pipe to.

Package: database