mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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
This commit is contained in:
@ -1650,7 +1650,10 @@ INSERT INTO tbl1 VALUES ($1, $2) \bind 'first value' 'second value' \g
|
||||
If the form <literal>\df+</literal> is used, additional information
|
||||
about each function is shown, including volatility,
|
||||
parallel safety, owner, security classification, access privileges,
|
||||
language, source code and description.
|
||||
language, internal name (for C and internal functions only),
|
||||
and description.
|
||||
Source code for a specific function can be seen
|
||||
using <literal>\sf</literal>.
|
||||
</para>
|
||||
|
||||
</listitem>
|
||||
|
Reference in New Issue
Block a user