Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNkyE-0007K3-GH for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Oct 2019 21:48:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iNkyC-00087F-4K for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Oct 2019 21:48:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iNkyB-000878-Od for pgsql-hackers@lists.postgresql.org; Thu, 24 Oct 2019 21:48:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iNky8-00047Y-Gh for pgsql-hackers@lists.postgresql.org; Thu, 24 Oct 2019 21:48:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x9OLmVqC011050; Thu, 24 Oct 2019 17:48:31 -0400 From: Tom Lane To: Victor Spirin cc: pgsql-hackers@lists.postgresql.org Subject: Re: psql tab-complete 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> Comments: In-reply-to Victor Spirin message dated "Thu, 24 Oct 2019 19:11:59 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <11048.1571953711.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Thu, 24 Oct 2019 17:48:31 -0400 Message-ID: <11049.1571953711@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Victor Spirin 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 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