pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Victor Spirin <v.spirin@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: psql tab-complete
Date: Thu, 24 Oct 2019 17:48:31 -0400
Message-ID: <11049.1571953711@sss.pgh.pa.us> (raw)
In-Reply-To: <84e2eed6-63ec-b01e-2485-0f8e86da08df@postgrespro.ru>
References: <8d4e41ab-f001-fe9c-d796-a7b584a3c7f6@2ndQuadrant.com>
	<84e2eed6-63ec-b01e-2485-0f8e86da08df@postgrespro.ru>

Victor Spirin <v.spirin@postgrespro.ru> writes:
> I found some problem with tab-complete in the 12 version.  I checked 
> this in the Windows.

This change seems to break the case intended by the comment,
ie given the context

	SELECT * FROM tablename WHERE <tab>

we want to offer the columns of "tablename" as completions.

I'd be the first to agree that that's completely lame, as there
are any number of related cases it fails to cover ... but this
patch isn't making it better.

			regards, tom lane





view thread (10+ messages)  latest in thread

Message-ID: <11049.1571953711@sss.pgh.pa.us>
Permalink:  ../11049.1571953711@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11049.1571953711@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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, v.spirin@postgrespro.ru
  Subject: Re: psql tab-complete
  In-Reply-To: <11049.1571953711@sss.pgh.pa.us>
  References: <8d4e41ab-f001-fe9c-d796-a7b584a3c7f6@2ndQuadrant.com> <84e2eed6-63ec-b01e-2485-0f8e86da08df@postgrespro.ru> <11049.1571953711@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