Re: [PATCH] Add size/acl information when listing databases

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Add size/acl information when listing databases
Дата
Msg-id 2015.1200794819@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [PATCH] Add size/acl information when listing databases  (Andrew Gilligan <andy@tcpd.net>)
Ответы Re: [PATCH] Add size/acl information when listing databases  (Andrew Gilligan <andy@tcpd.net>)
Список pgsql-hackers
Andrew Gilligan <andy@tcpd.net> writes:
> Attached is a rather small change to src/bin/psql/describe.c to
> show database size and permissions when using the psql \l command.

Doesn't this slow down \l by several orders of magnitude?  There's
also the small problem that the query will fail entirely if there are
any databases the current user cannot connect to.

The ACL part is fine, the database size not so much.  I could see
relegating the size to a \l+ option, but you still have to deal with the
permissions problem.
        regards, tom lane


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

Предыдущее
От: Andrew Gilligan
Дата:
Сообщение: [PATCH] Add size/acl information when listing databases
Следующее
От: Tom Lane
Дата:
Сообщение: Re: message string fixes