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(-)