Method: PGconn#finish

Defined in:
ext/pg.c

#finishObject Also known as: close

Closes the backend connection.



543
544
545
546
547
548
549
# File 'ext/pg.c', line 543

static VALUE
pgconn_finish(VALUE self)
{
	PQfinish(get_pgconn(self));
	DATA_PTR(self) = NULL;
	return Qnil;
}