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 1iuf3G-0003Td-0Y for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Jan 2020 16:09:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iuf3E-0001YQ-3U for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Jan 2020 16:09:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iuf3D-0001YJ-RV for pgsql-hackers@lists.postgresql.org; Thu, 23 Jan 2020 16:09:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iuf3A-0003d4-W1 for pgsql-hackers@lists.postgresql.org; Thu, 23 Jan 2020 16:09:47 +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 00NG9a85011001; Thu, 23 Jan 2020 11:09:36 -0500 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers@lists.postgresql.org, steven.winfield@cantabcapital.com Subject: Re: BUG #16059: Tab-completion of filenames in COPY commands removes required quotes In-reply-to: References: <16059-8836946734c02b84@postgresql.org> <30313.1572729260@sss.pgh.pa.us> <1628.1572820800@sss.pgh.pa.us> <6ccd23e4-ce58-c2b5-39a1-801a9937ae86@2ndquadrant.com> <12699.1578058657@sss.pgh.pa.us> <32307.1578290788@sss.pgh.pa.us> <1ed54e8f-d84e-bfbe-ffad-890015e12735@2ndquadrant.com> <28497.1578947794@sss.pgh.pa.us> <22096.1578965897@sss.pgh.pa.us> Comments: In-reply-to Peter Eisentraut message dated "Thu, 23 Jan 2020 14:46:08 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10999.1579795776.1@sss.pgh.pa.us> Date: Thu, 23 Jan 2020 11:09:36 -0500 Message-ID: <11000.1579795776@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > On 2020-01-14 02:38, Tom Lane wrote: >> On reflection, it seems like the best bet for the moment is to >> remove double-quote from the rl_completer_quote_characters string, >> which should restore all behavior around double-quoted strings to >> what it was before. (We have to keep single-quote in that string, >> though, or quoted file names fail entirely.) > This patch (version 6) looks good to me. Thanks for reviewing! Pushed, now we'll see what the buildfarm thinks... regards, tom lane