Next: , Previous: , Up: SXEmacs PostgreSQL libpq API   [Contents][Index]


61.2.5 Large Object Support

Function: pq-lo-import conn filename

Import a file as a large object into the database. conn a database connection object filename filename to import

On success, the object id is returned.

Function: pq-lo-export conn oid filename

Copy a large object in the database into a file. conn a database connection object. oid object id number of a large object. filename filename to export to.