Autocompletion for \sf does not work if there is more than one function
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/17/app-psql.html
Description:
test=> \sf+ app_con<TAB><TAB>
test=> \sf+ app_config
ERROR: more than one function named "app_config"
I expect to see arguments types: void or jsonb like:
test=> \sf app_con<TAB><TAB>
void jsonb
Because definition for those functions are:
Schema | Name | Result data type |
--------+------------+------------------+------------------------------------------------>
public | app_config | void | config jsonb
public | app_config | jsonb | keys text[] DEF
Best regards.
Hello PG,
Friday, September 12, 2025, 8:55:14 PM, you wrote:
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/17/app-psql.html
Description:
test=>> \sf+ app_con<TAB><TAB>
test=>> \sf+ app_config
ERROR: more than one function named "app_config"
I expect to see arguments types: void or jsonb like:
test=>> \sf app_con<TAB><TAB>
void jsonb
Because definition for those functions are:
Schema | Name | Result data type |
--------+------------+------------------+------------------------------------------------>
public | app_config | void | config jsonb
public | app_config | jsonb | keys text[] DEF
Best regards.
btw autocompletion for "DROP FUNCTION" works as expected
=> drop function app_config (
jsonb) text) text[])
I expect the similar behaviour for \sf+
--
Best regards,
Eugen Konkov