aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1997-10-02 03:15:11 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1997-10-02 03:15:11 +0000
commit0c8ef6e5cb97470958ec33720cff6114ef237f65 (patch)
tree1c12976ef1174947dedbd4bb9c0d0ef4778f7e75 /src
parent61a72beda5e625a9073b5f6c3b5122fd76bcda03 (diff)
downloadpostgresql-0c8ef6e5cb97470958ec33720cff6114ef237f65.tar.gz
postgresql-0c8ef6e5cb97470958ec33720cff6114ef237f65.zip
MOVE command
Diffstat (limited to 'src')
-rw-r--r--src/man/move.l44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/man/move.l b/src/man/move.l
new file mode 100644
index 00000000000..db10a930ef1
--- /dev/null
+++ b/src/man/move.l
@@ -0,0 +1,44 @@
+.\" This is -*-nroff-*-
+.\" XXX standard disclaimer belongs here....
+.\" $Header: /cvsroot/pgsql/src/man/Attic/move.l,v 1.1 1997/10/02 03:15:11 vadim Exp $
+.TH MOVE SQL 01/23/93 PostgreSQL PostgreSQL
+.SH NAME
+move \(em move cursor position
+.SH SYNOPSIS
+.nf
+\fBmove\fR [ (\fBforward\fR | \fBbackward\fR) ] [ ( number | \fBall\fR) ] [\fBin\fR cursor_name]
+.fi
+.SH DESCRIPTION
+.BR Move
+allows a user to move cursor position for specified number of instances.
+Move works like
+.IR fetch
+command: it fetches instances, but put them nowhere.
+.SH EXAMPLE
+.nf
+--
+--set up and use a cursor
+--
+begin
+ declare mycursor cursor for
+ select * from pg-user;
+--
+--Move for 5 instances in the cursor FOO
+--
+ move 5 in FOO;
+--
+--Fetch 6th instance in the cursor FOO
+--
+ fetch 1 in FOO;
+--
+--close
+--
+ close foo;
+end;
+.fi
+.SH "SEE ALSO"
+begin(l),
+end(l),
+close(l),
+fetch(l),
+select(l).