Re: [PATCH] Add size/acl information when listing databases
В списке pgsql-hackers по дате отправления:
| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера