Re: Remove source code display from \df+?

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Remove source code display from \df+?
Дата
Msg-id CABUevEwnePrw2kqdyasx5q2eFhbm1u=xpXPU1i+iNa3EOk7mtA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Remove source code display from \df+?  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Remove source code display from \df+?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers


On Wed, Jan 11, 2023 at 6:19 PM Pavel Stehule <pavel.stehule@gmail.com> wrote:


st 11. 1. 2023 v 17:50 odesílatel Isaac Morland <isaac.morland@gmail.com> napsal:
I find \df+ much less useful than it should be because it tends to be cluttered up with source code. Now that we have \sf, would it be reasonable to remove the source code from the \df+ display? This would make it easier to see function permissions and comments. If somebody wants to see the full definition of a function they can always invoke \sf on it.

If there is consensus on the idea in principle I will write up a patch.

+1


+1 but maybe with a twist. For any functions in a procedural language like plpgsql, it makes it pretty useless today. But when viewing an internal or C language function, it's short enough and still actually useful. Maybe some combination where it would keep showing those for such language, but would show "use \sf to view source" for procedural languages?
 
--

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Remove source code display from \df+?
Следующее
От: Jacob Champion
Дата:
Сообщение: Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert