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 1u2wTs-0086Mw-QX for pgsql-committers@arkaria.postgresql.org; Thu, 10 Apr 2025 18:18:28 +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 1u2wTr-00FonH-6n for pgsql-committers@arkaria.postgresql.org; Thu, 10 Apr 2025 18:18:27 +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 1u2wTq-00Fon9-Vo for pgsql-committers@lists.postgresql.org; Thu, 10 Apr 2025 18:18:27 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u2wTp-004Z6J-02 for pgsql-committers@lists.postgresql.org; Thu, 10 Apr 2025 18:18:26 +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 1u2wTn-0035JK-0k for pgsql-committers@lists.postgresql.org; Thu, 10 Apr 2025 18:18:23 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1u2wTm-003cyQ-2j for pgsql-committers@lists.postgresql.org; Thu, 10 Apr 2025 18:18:22 +0000 Content-Type: multipart/mixed; boundary="===============7372202188966818309==" MIME-Version: 1.0 From: Tom Lane To: pgsql-committers@lists.postgresql.org Subject: pgsql: Remove useless check for negative result of ip_addrsize(). X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Thu, 10 Apr 2025 18:18:22 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============7372202188966818309== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 UmVtb3ZlIHVzZWxlc3MgY2hlY2sgZm9yIG5lZ2F0aXZlIHJlc3VsdCBvZiBpcF9hZGRyc2l6ZSgp LgoKQnkgaW5zcGVjdGlvbiwgaXBfYWRkcnNpemUoKSBjYW4ndCByZXR1cm4gYSBuZWdhdGl2ZSBy ZXN1bHQuCihJZiBpdCBjb3VsZCwgd2UnZCBoYXZlIHdheSBiaWdnZXIgcHJvYmxlbXMgZWxzZXdo ZXJlLikKU28gZGVsZXRlIHVzZWxlc3MgY2hlY2sgaW4gbmV0d29ya19zZW5kKCkuICBNb3N0IEMg Y29tcGlsZXJzCmFyZSBwcm9iYWJseSBwZXJmZWN0bHkgY2FwYWJsZSBvZiByZW1vdmluZyB0aGlz IGNvZGUgYnkKdGhlbXNlbHZlcywgYnV0IGl0J3MgY29uZnVzaW5nL21pc2xlYWRpbmcuCgpCdWc6 ICMxODg4OQpSZXBvcnRlZC1ieTogRGFuaWVsIEVsaXNoYWtvdiA8ZGFuLWVsaUBtYWlsLnJ1PgpE aXNjdXNzaW9uOiBodHRwczovL3Bvc3Rnci5lcy9tLzE4ODg5LTczZDRmMTllOTUzYTYyOWVAcG9z dGdyZXNxbC5vcmcKCkJyYW5jaAotLS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6 Ly9naXQucG9zdGdyZXNxbC5vcmcvcGcvY29tbWl0ZGlmZi9mMjdlYjAzMjViN2IyY2ZmM2I4ODBm YTY2OTkxMzY5Mzg0OTUyMWRjCgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmFj a2VuZC91dGlscy9hZHQvbmV0d29yay5jIHwgMiAtLQoxIGZpbGUgY2hhbmdlZCwgMiBkZWxldGlv bnMoLSkKCg== --===============7372202188966818309==--