psql: \dg off by one error

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема psql: \dg off by one error
Дата
Msg-id AANLkTimgbL9SHLXj38Qtmo6vmuwocW5rRLCKWQmO1bxE@mail.gmail.com
обсуждение исходный текст
Ответы Re: psql: \dg off by one error  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
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.

Josh

Вложения

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

Предыдущее
От: Anton
Дата:
Сообщение: Native XML
Следующее
От: fork
Дата:
Сообщение: Re: Generalized edit function?