Re: Autocompletion for \sf does not work if there is more than one function

From: Eugen Konkov <kes-kes(at)yandex(dot)ru>
To: PG Doc comments form <noreply(at)postgresql(dot)org>, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Autocompletion for \sf does not work if there is more than one function
Date: 2025-09-13 19:09:51
Message-ID: 33902929.20250913150951@yandex.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2025-09-13 20:32:58 The document contains false statements
Previous Message PG Doc comments form 2025-09-13 00:55:14 Autocompletion for \sf does not work if there is more than one function