public inbox for [email protected]  
help / color / mirror / Atom feed
Autocompletion for \sf does not work if there is more than one function
2+ messages / 2 participants
[nested] [flat]

* Autocompletion for \sf does not work if there is more than one function
@ 2025-09-13 00:55 PG Doc comments form <[email protected]>
  2025-09-13 19:09 ` Re: Autocompletion for \sf does not work if there is more than one function Eugen Konkov <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2025-09-13 00:55 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

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.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Autocompletion for \sf does not work if there is more than one function
  2025-09-13 00:55 Autocompletion for \sf does not work if there is more than one function PG Doc comments form <[email protected]>
@ 2025-09-13 19:09 ` Eugen Konkov <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Eugen Konkov @ 2025-09-13 19:09 UTC (permalink / raw)
  To: PG Doc comments form <[email protected]>; [email protected]

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







^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-09-13 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-09-13 00:55 Autocompletion for \sf does not work if there is more than one function PG Doc comments form <[email protected]>
2025-09-13 19:09 ` Eugen Konkov <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox