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 1u0hGQ-0066c8-HO for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Apr 2025 13:39:18 +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 1u0hGO-000ElO-Mu for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Apr 2025 13:39:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u0hGO-000Ek4-Cy for pgsql-hackers@lists.postgresql.org; Fri, 04 Apr 2025 13:39:16 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u0hGL-003MS3-0P for pgsql-hackers@postgresql.org; Fri, 04 Apr 2025 13:39:16 +0000 Received: from [192.168.11.5] (p1696134-ipoe.ipoe.ocn.ne.jp [118.0.93.133]) by oss.nttdata.com (Postfix) with ESMTPSA id EE4FC6067A; Fri, 4 Apr 2025 22:39:06 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Message-ID: Date: Fri, 4 Apr 2025 22:39:06 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: in BeginCopyTo make materialized view using COPY TO instead of COPY (query). Content-Language: en-US From: Fujii Masao To: jian he Cc: Andrew Dunstan , "David G. Johnston" , Kirill Reshke , PostgreSQL-development , Tom Lane , Michael Paquier References: <442e62f7-ef64-4df1-8453-d682fe9bdaa3@dunslane.net> <425ebe4b-06c5-4212-af68-fd0e5537c250@dunslane.net> <4f9481ea-5dbc-43b2-a8a1-ec4cbecce6e7@oss.nttdata.com> In-Reply-To: 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 2025/04/03 20:46, Fujii Masao wrote: > Thanks for updating the patch! I made some minor cosmetic changes > and updated the commit log. The revised patch is attached. > > Unless there are any objections, I'll proceed with committing it. I've pushed the patch. Thanks! As a follow-up, it might be worth enhancing psql to also complete materialized view names after "COPY". Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION