pgsql: Show "internal name" not "source code" in psql's \df+ command.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Show "internal name" not "source code" in psql's \df+ command.
Дата
Msg-id E1pXrCo-001aW3-V7@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Show "internal name" not "source code" in psql's \df+ command.

Our previous habit of showing the full function body is really
pretty unfriendly for tabular viewing of functions, and now that
we have \sf and \ef commands there seems no good reason why \df+
has to do it.  It still seems to make sense to show prosrc for
internal and C-language functions, since in those cases prosrc
is just the C function name; but then let's rename the column to
"Internal name" which is a more accurate descriptor.

Isaac Morland

Discussion: https://postgr.es/m/CAMsGm5eqKc6J1=Lwn=ZONG=6ZDYWRQ4cgZQLqMuZGB1aVt_JBg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3dfae91f7a1293e0a57526edcfca8690c176c681

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml     |  5 ++++-
src/bin/psql/describe.c            | 11 +++--------
src/test/regress/expected/psql.out | 28 ++++++++++++++++++++++++++++
src/test/regress/sql/psql.sql      | 23 +++++++++++++++++++++++
4 files changed, 58 insertions(+), 9 deletions(-)


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: Don't leak descriptors into subprograms.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Harden new test case against force_parallel_mode = regress.