create method

int create()

Create a new large object and returns the object id

Implementation

int create() {
  psql.startTransaction();
  int oid = psql.pq.lo_creat(psql.conn, INV_READ | INV_WRITE);
  psql.comitTransaction();
  return oid;
}