Re: psql show dbsize?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql show dbsize?
Дата
Msg-id 25858.1193888026@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: psql show dbsize?  ("Brendan Jurd" <direvus@gmail.com>)
Ответы Re: psql show dbsize?  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
"Brendan Jurd" <direvus@gmail.com> writes:
> I'd find this convenient too.  Although \l+ would be more consistent
> with the \d series of commands.

Putting it into \l+ would address my gripe about increased execution
time.  The permissions angle still bothers me though.  AFAIR there are
no psql catalog-inquiry backslash commands that require any special
permissions, so making \l+ into something that's quite likely to fail
in a locked-down installation seems out of place.

Is there a way to get it to just not print anything, instead of failing,
for DBs you don't have privileges for?
        regards, tom lane


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

Предыдущее
От: "Brendan Jurd"
Дата:
Сообщение: Re: psql show dbsize?
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Cache lookup failed for relation X [was: DROP FUNCTION cache lookup failed for relation X]