pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: depesz@depesz.com
Cc: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Would it be possible to add functions to tab-completion in psql?
Date: Tue, 16 Aug 2022 10:10:55 -0400
Message-ID: <1122768.1660659055@sss.pgh.pa.us> (raw)
In-Reply-To: <20220816140253.GB14225@depesz.com>
References: <20220816122849.GC24417@depesz.com>
	<d6d06ded-d795-ff81-d4e8-13d5bdf981d0@gmail.com>
	<20220816130114.GA22122@depesz.com>
	<2bdacb77-c22f-8be5-cbb7-418c1e3eab82@gmail.com>
	<20220816140253.GB14225@depesz.com>

hubert depesz lubaczewski <depesz@depesz.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





view thread (11+ messages)  latest in thread

Message-ID: <1122768.1660659055@sss.pgh.pa.us>
Permalink:  ../1122768.1660659055@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1122768.1660659055@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, depesz@depesz.com, ronljohnsonjr@gmail.com
  Subject: Re: Would it be possible to add functions to tab-completion in psql?
  In-Reply-To: <1122768.1660659055@sss.pgh.pa.us>
  References: <20220816122849.GC24417@depesz.com> <d6d06ded-d795-ff81-d4e8-13d5bdf981d0@gmail.com> <20220816130114.GA22122@depesz.com> <2bdacb77-c22f-8be5-cbb7-418c1e3eab82@gmail.com> <20220816140253.GB14225@depesz.com> <1122768.1660659055@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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