Show "internal name" not "source code" in psql's \df+ command.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Mar 2023 22:15:00 +0000 (17:15 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Mar 2023 22:15:13 +0000 (17:15 -0500)
commit3dfae91f7a1293e0a57526edcfca8690c176c681
tree3b48438aa8c2d0f80860697dde3c692aa1bffa12
parent1da569ca1f1fd08ae728ccde0952b688feff7d9c
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
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/describe.c
src/test/regress/expected/psql.out
src/test/regress/sql/psql.sql