Missing Docs for MOVE direction?
Missing Docs for MOVE direction?
От:
"David E. Wheeler" <david@kineticode.com>
Дата:
Howdy,
I was just looking at the documentation for cursors command, and
noticed that the MOVE command's "direction" argument doesn't seem to
have documentation for its possible values.
http://www.postgresql.org/docs/8.4/static/sql-move.html
I assume that they should be FORWARD and BACKWARD, as the former is
used in the example, but in truth I have no idea.
Also, what's the difference between the FROM and IN clauses? Or are
they they same thing?
Thanks,
David
Re: Missing Docs for MOVE direction?
От:
"David E. Wheeler" <david@kineticode.com>
Дата:
On Jun 21, 2009, at 5:07 PM, David E. Wheeler wrote:
> I was just looking at the documentation for cursors command, and
> noticed that the MOVE command's "direction" argument doesn't seem to
> have documentation for its possible values.
>
> http://www.postgresql.org/docs/8.4/static/sql-move.html
>
> I assume that they should be FORWARD and BACKWARD, as the former is
> used in the example, but in truth I have no idea.
>
> Also, what's the difference between the FROM and IN clauses? Or are
> they they same thing?
Bah! I now see that these expressions are the same as for FETCH.
Something like this would help, I think:
*** move.sgml.~1.31.~ Thu Nov 20 20:39:34 2008
--- move.sgml Sun Jun 21 17:15:44 2009
***************
*** 40,46 ****
! Refer to for details on syntax and usage.
--- 40,47 ----
! The parameters for MOVE are identical to those
for
! FETCH; refer to for details on syntax and usage.
Thanks,
David
Re: Missing Docs for MOVE direction?
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
On Monday 22 June 2009 03:15:57 David E. Wheeler wrote: > On Jun 21, 2009, at 5:07 PM, David E. Wheeler wrote: > > I was just looking at the documentation for cursors command, and > > noticed that the MOVE command's "direction" argument doesn't seem to > > have documentation for its possible values. > > > > http://www.postgresql.org/docs/8.4/static/sql-move.html > > > > I assume that they should be FORWARD and BACKWARD, as the former is > > used in the example, but in truth I have no idea. > > > > Also, what's the difference between the FROM and IN clauses? Or are > > they they same thing? > > Bah! I now see that these expressions are the same as for FETCH. > Something like this would help, I think: > > *** move.sgml.~1.31.~ Thu Nov 20 20:39:34 2008 > --- move.sgml Sun Jun 21 17:15:44 2009 > *************** > *** 40,46 **** > > > > ! Refer to > > for details on syntax and usage. > > --- 40,47 ---- > > > > ! The parameters for MOVE are identical to those > for > ! FETCH; refer to > > for details on syntax and usage. > > > Thanks, > > David done