Re: psql: \dg off by one error

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: psql: \dg off by one error
Дата
Msg-id AANLkTi=cqWMKQqa_HeUJiUd7r6XU+RCtp8oDUYJyEdXC@mail.gmail.com
обсуждение исходный текст
Ответ на psql: \dg off by one error  (Josh Kupershmidt <schmiddy@gmail.com>)
Список pgsql-hackers
On Sun, Feb 27, 2011 at 01:21, Josh Kupershmidt <schmiddy@gmail.com> wrote:
> Hi all,
>
> I noticed an off by one error in psql's verbose-mode display for \dg
> and \du. In verbose mode, \dg and \du will not display the
> "Replication" attribute:
>
> test=# \dg rep
>            List of roles
>  Role name | Attributes  | Member of
> -----------+-------------+-----------
>  rep       | Replication | {}
>
> test=# \dg+ rep
>                  List of roles
>  Role name | Attributes | Member of | Description
> -----------+------------+-----------+-------------
>  rep       |            | {}        |
>
>
> Attached is a one line patch to fix.

Applied, thanks.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Keywords in pg_hba.conf should be field-specific
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Snapshot synchronization, again...