Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMixE-0006Qq-Lb for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Sep 2020 02:31:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kMixD-0001XA-Ij for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Sep 2020 02:31:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMixD-0001X3-C3 for pgsql-hackers@lists.postgresql.org; Mon, 28 Sep 2020 02:31:51 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMix9-0000pq-Nw for pgsql-hackers@postgresql.org; Mon, 28 Sep 2020 02:31:50 +0000 Received: from hnk.local (sp1-75-203-120.msb.spmode.ne.jp [1.75.203.120]) by oss.nttdata.com (Postfix) with ESMTPSA id 4CAD06237F; Mon, 28 Sep 2020 11:31:43 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at oss.nttdata.com Subject: Re: Feature improvement of tab completion for DEALLOCATE To: btnakamichin Cc: pgsql-hackers@postgresql.org References: <997a84af-c2e2-abe4-aca2-abdfb7383346@oss.nttdata.com> <680a8129485eb754f31ad0ccc1f7151f@oss.nttdata.com> From: Fujii Masao Message-ID: Date: Mon, 28 Sep 2020 11:31:42 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <680a8129485eb754f31ad0ccc1f7151f@oss.nttdata.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020/09/25 15:18, btnakamichin wrote: > 2020-09-25 14:30 に Fujii Masao さんは書きました: >> On 2020/09/25 13:45, btnakamichin wrote: >>> Hello! >>> >>> I’d like to improve the deallocate tab completion. >>> >>> The deallocate tab completion can’t complement “ALL”. Therefore, this patch fixes the problem. >> >> Thanks for the patch! It looks basically good, but I think it's better >> to add newline just before UNION to avoid long line, as follows. >> >> - COMPLETE_WITH_QUERY(Query_for_list_of_prepared_statements); >> + COMPLETE_WITH_QUERY(Query_for_list_of_prepared_statements >> +                                                       " UNION SELECT 'ALL'"); >> >> Regards, > > Thank you, I appreciate your comment. > > I have attached pattch with newline. Thanks for updating the patch! But it contains only the diff from the previous patch. Anyway, I pushed the change that you proposed. Thanks! Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION