pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: depesz@depesz.com, Tom Lane <tgl@sss.pgh.pa.us>
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: Wed, 17 Aug 2022 07:33:25 +0200
Message-ID: <ec6347a9-f218-2e6c-49d0-e4c8ea5665fb@enterprisedb.com> (raw)
In-Reply-To: <20220816141412.GA22751@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>
	<1122768.1660659055@sss.pgh.pa.us>
	<20220816141412.GA22751@depesz.com>

On 16.08.22 16:14, hubert depesz lubaczewski wrote:
> Specifically, I'd ask what is the harm of increasing what tab completion
> can do by a lot - for example, make it tab-complete fields from all
> tables. And make it possible to tab-complete column name anywhere in
> where clause. But function name in select would be (for me(!)) great
> first step, and I can't really see the drawbacks, aside from using
> developer time to work on it.

I think in this case it would be straightforward to write a patch and 
then we can see what the experience is in practice.  I agree this could 
be a useful feature.






view thread (11+ messages)

Message-ID: <ec6347a9-f218-2e6c-49d0-e4c8ea5665fb@enterprisedb.com>
Permalink:  ../ec6347a9-f218-2e6c-49d0-e4c8ea5665fb@enterprisedb.com/
Also on:    postgresql.org/message-id/ec6347a9-f218-2e6c-49d0-e4c8ea5665fb@enterprisedb.com

 · 

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: peter.eisentraut@enterprisedb.com, tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com
  Subject: Re: Would it be possible to add functions to tab-completion in psql?
  In-Reply-To: <ec6347a9-f218-2e6c-49d0-e4c8ea5665fb@enterprisedb.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> <1122768.1660659055@sss.pgh.pa.us> <20220816141412.GA22751@depesz.com> <ec6347a9-f218-2e6c-49d0-e4c8ea5665fb@enterprisedb.com>

* 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