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 1int1D-0002ks-Qd for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Jan 2020 23:39:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1int1C-0007WB-5C for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Jan 2020 23:39:42 +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 1int1B-0007W4-Gy for pgsql-hackers@lists.postgresql.org; Sat, 04 Jan 2020 23:39:41 +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 1int19-0004lC-9s for pgsql-hackers@postgresql.org; Sat, 04 Jan 2020 23:39:40 +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 004NdYlV025069; Sat, 4 Jan 2020 18:39:34 -0500 From: Tom Lane To: Peter Geoghegan cc: Robert Haas , Christoph Berg , PostgreSQL Hackers Subject: Re: pgsql: Add basic TAP tests for psql's tab-completion logic. In-reply-to: References: <20200103170226.GB32629@msg.df7cb.de> <26339.1578072930@sss.pgh.pa.us> <20200103174839.GD32629@msg.df7cb.de> <22669.1578104202@sss.pgh.pa.us> <25298.1578106280@sss.pgh.pa.us> <3055.1578115809@sss.pgh.pa.us> <8038.1578119995@sss.pgh.pa.us> <9256.1578121229@sss.pgh.pa.us> <25739.1578161968@sss.pgh.pa.us> <22817.1578167447@sss.pgh.pa.us> <4659.1578171401@ss! s.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Sat, 04 Jan 2020 15:29:13 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25067.1578181174.1@sss.pgh.pa.us> Date: Sat, 04 Jan 2020 18:39:34 -0500 Message-ID: <25068.1578181174@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Geoghegan writes: > Tom just advised me via private e-mail that my termcap database may be > the issue here. Looks like he was right. I did a "sudo aptitude > reinstall ncurses-base", and now the tests pass against HEAD. (I > probably should have tried to preserve things before going ahead with > that, but that didn't happen -- I had no reason to think that the > system was affected by any kind of corruption.) Hm, well, HEAD still has the hackery with explicit accounting for escape sequences. Could you try it with the patch I showed to unset TERM and remove that stuff? (It won't apply exactly to HEAD, but the diffs are simple enough, or you could revert to 60ab7c80b first.) > I am very sorry for having wasted your time on this wild goose chase, Don't worry about it --- even if it was some upgrade glitch, there was no way to know that in advance. regards, tom lane