.lf 1 sql/close.cmdsrc
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /usr/local/devel/pglite/cvs/src/doc/ref/sql/close.cmdsrc,v 1.1 1996/02/24 01:16:51 jolly Exp $
.TH CLOSE COMMANDS 11/05/95
.XA 2 Close
.SH NAME
close \(em close a cursor
.SH SYNOPSIS
.(l M
\fBclose\fP [cursor_name]
.)l
.SH DESCRIPTION
.BR Close
frees the resources associated with a cursor,
.IR cursor_name.
After this cursor is closed, no subsequent operations are allowed on
it.  A cursor should be closed when it is no longer needed.  If
.IR cursor_name. 
is not specified, then the blank cursor is closed.
.SH EXAMPLE
.(C
/*
 * close the cursor FOO
 */
close FOO
.)C
.SH "SEE ALSO"
fetch(commands),
select(commands).
