locreate(mode)
Large object create mode.
Object handling the PostgreSQL large object.
Bad argument type or too many arguments.
Invalid connection, or creation error.
locreate() method creates a large object in the database. The mode can be defined by OR-ing the constants defined in the pg module (INV_READ and INV_WRITE).