Re: Missing Docs for MOVE direction?

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Missing Docs for MOVE direction?
Date: 2009-06-22 00:15:57
Message-ID: D149977E-945D-423C-AE27-DB3F05AFB035@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 ****
</para>

<para>
! Refer to
<xref linkend="sql-fetch" endterm="sql-fetch-title">
for details on syntax and usage.
</para>
--- 40,47 ----
</para>

<para>
! The parameters for <command>MOVE</command> are identical to those
for
! <command>FETCH</command>; refer to
<xref linkend="sql-fetch" endterm="sql-fetch-title">
for details on syntax and usage.
</para>

Thanks,

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeremy Ford 2009-06-22 01:26:38 Re: BUG #4862: different results in to_date() between 8.3.7 & 8.4.RC1
Previous Message David E. Wheeler 2009-06-22 00:07:54 Missing Docs for MOVE direction?