close method

void close()

Closes a large object

Implementation

void close() {
  if (fd < 0) return;
  psql.pq.lo_close(psql.conn, fd);
  psql.comitTransaction();
  fd = -1;
}