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 1mfOvv-00019X-Do for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Oct 2021 16:04:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mfOvt-0002qc-JR for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Oct 2021 16:04:13 +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 1mfOvt-0002qT-Aw for pgsql-hackers@lists.postgresql.org; Tue, 26 Oct 2021 16:04:13 +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 1mfOvm-0004Xf-Eu for pgsql-hackers@postgresql.org; Tue, 26 Oct 2021 16:04:12 +0000 Received: from hrk.local (p2388012-ipbf1027funabasi.chiba.ocn.ne.jp [118.6.6.12]) by oss.nttdata.com (Postfix) with ESMTPSA id 2172060208; Wed, 27 Oct 2021 01:04:03 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.3 at oss.nttdata.com Subject: Re: Improve the HINT message of the ALTER command for postgres_fdw To: Bharath Rupireddy Cc: bt21masumurak , Daniel Gustafsson , pgsql-hackers References: <557d06cebe19081bfcc83ee2affc98d3@oss.nttdata.com> <250E9750-57EA-45BA-82A4-787CC61F7309@yesql.se> <46864d7a8ca6c2faeb2f9a7a401d47c0@oss.nttdata.com> <595194b4-20e1-58a5-4413-c0c7a1aee004@oss.nttdata.com> <4dbda741-2e88-fd07-c2a6-396d776ccf20@oss.nttdata.com> <33141684-a9bd-aea8-e05c-2826411c70fd@oss.nttdata.com> <29298fbf-6aec-7700-5cff-74e21d5d0e2e@oss.nttdata.com> From: Fujii Masao Message-ID: <7dec8d9c-57d3-5f8b-8f5e-42febe1e13d2@oss.nttdata.com> Date: Wed, 27 Oct 2021 01:04:02 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021/10/25 21:27, Bharath Rupireddy wrote: > On Mon, Oct 25, 2021 at 4:36 PM Fujii Masao wrote: >> On 2021/10/25 16:44, Bharath Rupireddy wrote: >>> Yeah, let's focus on fixing the hint message here and the >>> alter_foreign_data_wrapper_options_v3.patch LGTM. >> >> Thanks! But since v3 changed the error codes, I got rid of those >> changes and made v4 patch. Attached. > > That's okay as we plan to deal with the error code stuff separately. > >>> Why didn't we have a test case for file_fdw? It looks like the >>> file_fdw contrib module doesn't have any test cases in its sql >>> directory. I'm not sure if the module code is being covered in >>> someother tests. >> >> You can see the regression test for file_fdw, >> in contrib/file_fdw/input and output directories. > > I missed it. Thanks. I see that there are already test cases covering > error message with hint - "There are no valid options in this > context." > > The v4 patch LGTM. Pushed. Thanks! Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION