Обсуждение: BUG #5691: Documentation typo ?

Поиск
Список
Период
Сортировка

BUG #5691: Documentation typo ?

От
"Tatsuhito Kasahara"
Дата:
The following bug has been logged online:

Bug reference:      5691
Logged by:          Tatsuhito Kasahara
Email address:      kasahara.tatsuhito@oss.ntt.co.jp
PostgreSQL version: 9.0
Operating system:   Any
Description:        Documentation typo ?
Details:

The following is a part of doc/src/sgml/user-manag.sgml

======================
 For example, if for some reason you
   want to disable index scans (hint: not a good idea) anytime you
   connect, you can use:
<programlisting>
ALTER ROLE myname SET statement_timeout = '5min';
</programlisting>
======================

It seems to be a wrong example (or text).

Best regards,

Re: BUG #5691: Documentation typo ?

От
Tom Lane
Дата:
"Tatsuhito Kasahara" <kasahara.tatsuhito@oss.ntt.co.jp> writes:
> The following is a part of doc/src/sgml/user-manag.sgml

> ======================
>  For example, if for some reason you
>    want to disable index scans (hint: not a good idea) anytime you
>    connect, you can use:
> <programlisting>
> ALTER ROLE myname SET statement_timeout = '5min';
> </programlisting>
> ======================

Hm, looks like Bruce wasn't too awake the last time he made a
"proofreading" pass over that material.  Fixed, thanks for the report!

            regards, tom lane