Re: Would it be possible to add functions to tab-completion in psql?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: depesz(at)depesz(dot)com
Cc: Ron <ronljohnsonjr(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Would it be possible to add functions to tab-completion in psql?
Date: 2022-08-16 14:10:55
Message-ID: 1122768.1660659055@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hubert depesz lubaczewski <depesz(at)depesz(dot)com> writes:
> I know we can tab-complete relations. But we can't functions.

There is nothing principled about assuming that the first word
after SELECT is a function name. It'd be even less principled to
provide tab completion only for function names beginning with
"pg_". So this idea seems like a wart rather than something
anybody would think is a nice improvement.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2022-08-16 14:14:12 Re: Would it be possible to add functions to tab-completion in psql?
Previous Message hubert depesz lubaczewski 2022-08-16 14:02:53 Re: Would it be possible to add functions to tab-completion in psql?