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 1u1Q7Y-0029OB-Nl for pgsql-committers@arkaria.postgresql.org; Sun, 06 Apr 2025 13:33:08 +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 1u1Q7W-00Dv7V-LB for pgsql-committers@arkaria.postgresql.org; Sun, 06 Apr 2025 13:33:06 +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 1u1Q7W-00Dv7N-E8 for pgsql-committers@lists.postgresql.org; Sun, 06 Apr 2025 13:33:06 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u1Q7U-003I6n-0a for pgsql-committers@lists.postgresql.org; Sun, 06 Apr 2025 13:33:05 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u1Q7T-0011yp-0U for pgsql-committers@lists.postgresql.org; Sun, 06 Apr 2025 13:33:03 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1u1Q7R-002xyY-1Q for pgsql-committers@lists.postgresql.org; Sun, 06 Apr 2025 13:33:01 +0000 Content-Type: multipart/mixed; boundary="===============8909614545711841757==" MIME-Version: 1.0 From: Andrew Dunstan To: pgsql-committers@lists.postgresql.org Subject: pgsql: Avoid unnecessary copying of a string in pg_restore.c X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Sun, 06 Apr 2025 13:33:01 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============8909614545711841757== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 QXZvaWQgdW5uZWNlc3NhcnkgY29weWluZyBvZiBhIHN0cmluZyBpbiBwZ19yZXN0b3JlLmMKCkNv dmVyaXR5IGNvbXBsYWluZWQgYWJvdXQgYSBwb3NzaWJsZSBvdmVycnVuIGluIHRoZSBjb3B5LCBi dXQgdGhlcmUgaXMKbm8gYWN0dWFsIG5lZWQgdG8gY29weSB0aGUgc3RyaW5nIGF0IGFsbC4KCkJy YW5jaAotLS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6Ly9naXQucG9zdGdyZXNx bC5vcmcvcGcvY29tbWl0ZGlmZi81ZTE5MTU0MzkwODUwMTQxNDAzMTQ5NzljNGRkNWUyM2JkNjc3 Y2FjCgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmluL3BnX2R1bXAvcGdfcmVz dG9yZS5jIHwgNiArKystLS0KMSBmaWxlIGNoYW5nZWQsIDMgaW5zZXJ0aW9ucygrKSwgMyBkZWxl dGlvbnMoLSkKCg== --===============8909614545711841757==--