Re: psql's \h MOVE

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: psql's \h MOVE
Дата
Msg-id BANLkTi=i=OFvkj0t_JK+0qvFwMi5db5_Jw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql's \h MOVE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: psql's \h MOVE  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-docs
On Sat, Apr 2, 2011 at 12:53 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>> I just noticed that \h MOVE is particularly unhelpful:
>>       alvherre=# \h move
>>       Command:     MOVE
>>       Description: position a cursor
>>       Syntax:
>>       MOVE [ direction { FROM | IN } ] cursorname
>
>> The problem is that it doesn't specify what "direction" is.  The doc
>> text tells you to look into FETCH for details, but in \h you have to
>> guess.
>
>> We could fix this by including a note about fetch in the <synopsis>,
>> so that it'd look like this:
>
>>       alvherre=# \h move
>>       Command:     MOVE
>>       Description: position a cursor
>>       Syntax:
>>       MOVE [ direction [ FROM | IN ] ] cursor_name
>
>>       See FETCH for details on direction
>
> -1 ... if this annoys you, just duplicate the definition of direction
> from FETCH.

+1 for duplicating the definition.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-docs по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: found a very confusing and maybe outdated sentence
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Migration page is out of date