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 1nAEtR-0000Qj-76 for pgsql-committers@arkaria.postgresql.org; Wed, 19 Jan 2022 17:37:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nAEtQ-0001xR-1l for pgsql-committers@arkaria.postgresql.org; Wed, 19 Jan 2022 17:37:08 +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 1nAEtP-0001vH-ML for pgsql-committers@lists.postgresql.org; Wed, 19 Jan 2022 17:37:07 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAEtN-0007Ej-Bq for pgsql-committers@lists.postgresql.org; Wed, 19 Jan 2022 17:37:06 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAEtM-0007qD-Tb for pgsql-committers@lists.postgresql.org; Wed, 19 Jan 2022 17:37:04 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nAEtM-00059l-Ch for pgsql-committers@lists.postgresql.org; Wed, 19 Jan 2022 17:37:04 +0000 Content-Type: multipart/mixed; boundary="===============5543105177759110832==" MIME-Version: 1.0 From: Tom Lane To: pgsql-committers@lists.postgresql.org Subject: pgsql: Remove redundant memory context switches in BeginCopyFrom(). X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Wed, 19 Jan 2022 17:37:04 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============5543105177759110832== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 UmVtb3ZlIHJlZHVuZGFudCBtZW1vcnkgY29udGV4dCBzd2l0Y2hlcyBpbiBCZWdpbkNvcHlGcm9t KCkuCgpUaGlzIGlzIHByb2JhYmx5IGEgbGVmdG92ZXIgZnJvbSBjb2RlIHJlZmFjdG9yaW5nLgoK SmFwaW4gTGkKCkRpc2N1c3Npb246IGh0dHBzOi8vcG9zdGdyLmVzL20vTUVZUDI4Mk1CMTY2OTNE REFCREZFQzc5NDlBQzMxODU3QjY1OTlATUVZUDI4Mk1CMTY2OS5BVVNQMjgyLlBST0QuT1VUTE9P Sy5DT00KCkJyYW5jaAotLS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6Ly9naXQu cG9zdGdyZXNxbC5vcmcvcGcvY29tbWl0ZGlmZi84OWYwNTliZGY1MmNjOWE4NmI4OTBkNDJjZWVk OTIyMzcxMjM0NzllCgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmFja2VuZC9j b21tYW5kcy9jb3B5ZnJvbS5jIHwgNCAtLS0tCjEgZmlsZSBjaGFuZ2VkLCA0IGRlbGV0aW9ucygt KQoK --===============5543105177759110832==--