open(mode)
open mode definition (integer).
none
Bad parameter type, or too many arguments.
Already opened object, or open error.
Invalid connection.
open() method opens a large object for reading/writing, in the same way than the Unix open() function. The mode value can be obtained by OR-ing the constants defined in the pg module (INV_READ, INV_WRITE).