Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tAXbk-00GL4s-RA for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Nov 2024 16:49:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tAXbi-00G66D-6f for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Nov 2024 16:49:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tAXbh-00G662-TE for pgsql-hackers@lists.postgresql.org; Mon, 11 Nov 2024 16:49:42 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tAXbf-001L2h-Eq for pgsql-hackers@postgresql.org; Mon, 11 Nov 2024 16:49:41 +0000 Received: from [192.168.11.3] (p3759079-ipxg13301funabasi.chiba.ocn.ne.jp [114.178.140.79]) by oss.nttdata.com (Postfix) with ESMTPSA id 4D4E7613B4; Tue, 12 Nov 2024 01:49:34 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Message-ID: Date: Tue, 12 Nov 2024 01:49:34 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Add reject_limit option to file_fdw To: torikoshia Cc: Pgsql Hackers References: <54747389a562688eab7077b144daff6a@oss.nttdata.com> <2b3ad6d4-e05f-4188-8cfe-1fd9d949a9c9@oss.nttdata.com> <192ede1e4c2b34b853e5ac46f8dee50b@oss.nttdata.com> Content-Language: en-US From: Fujii Masao In-Reply-To: <192ede1e4c2b34b853e5ac46f8dee50b@oss.nttdata.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024/11/11 21:45, torikoshia wrote: >> Thanks for adding the comment. It clearly states that REJECT_LIMIT can be >> a single-quoted string. However, it might also be helpful to mention that >> it can be provided as an int64 in the COPY command option. How about >> updating it like this? >> >> ------------------------------------ >> REJECT_LIMIT can be specified in two ways: as an int64 for the COPY command >> option or as a single-quoted string for the foreign table option using >> file_fdw. Therefore this function needs to handle both formats. >> ------------------------------------ > > Thanks! it seems better. > > > Attached v3 patch. Thanks for updating the patch! It looks like you forgot to attach it, though. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION