This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
current
version, or one of the other supported versions listed above instead.
Name
export -- saves the large object to file
Synopsis
export(filename)
Parameters
- filename
-
The file to be created.
Exceptions
- TypeError
-
Bad argument type, or too many arguments.
- IOError
-
Object is not closed, or export error.
- pg.error
-
Invalid connection or invalid object.
Description
export() method allows to dump the
content of a large object in a very simple way. The exported file
is created on the host of the program, not the server host.