Next: , Previous: , Up: Data exchange   [Index]


7.3.4 Exporting large objects from a database

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.