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 1qePvu-006k1S-U0 for pgsql-committers@arkaria.postgresql.org; Fri, 08 Sep 2023 01:05:14 +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 1qePvt-005gw0-NC for pgsql-committers@arkaria.postgresql.org; Fri, 08 Sep 2023 01:05:13 +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 1qePvt-005gvg-Ef for pgsql-committers@lists.postgresql.org; Fri, 08 Sep 2023 01:05:13 +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.94.2) (envelope-from ) id 1qePvk-003mFU-Rk for pgsql-committers@lists.postgresql.org; Fri, 08 Sep 2023 01:05:12 +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 1qePvi-0001Q0-ON for pgsql-committers@lists.postgresql.org; Fri, 08 Sep 2023 01:05:02 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qePvh-002ss4-Cn for pgsql-committers@lists.postgresql.org; Fri, 08 Sep 2023 01:05:01 +0000 Content-Type: multipart/mixed; boundary="===============8482090387206016639==" MIME-Version: 1.0 From: Michael Paquier To: pgsql-committers@lists.postgresql.org Subject: pgsql: Improve BackendXidGetPid() to only access allProcs on matching X X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Fri, 08 Sep 2023 01:05:01 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============8482090387206016639== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 SW1wcm92ZSBCYWNrZW5kWGlkR2V0UGlkKCkgdG8gb25seSBhY2Nlc3MgYWxsUHJvY3Mgb24gbWF0 Y2hpbmcgWElECgpDb21waWxlcnMgYXJlIGFibGUgdG8gb3B0aW1pemUgdGhhdCwgYnV0IGl0IG1h a2VzIHRoZSBjb2RlIHNsaWdodGx5IG1vcmUKcmVhZGFibGUgdGhpcyB3YXkuCgpBdXRob3I6IFpo YW8gSnVud2FuZwpSZXZpZXdlZC1ieTogQXNodXRvc2ggQmFwYXQKRGlzY3Vzc2lvbjogaHR0cHM6 Ly9wb3N0Z3IuZXMvbS9DQUVHOGEzK2k5Z3RxRjY1QitnX3B1VmFDUXVmMHJaQy1FTXFNeUVqR0ZK WU9xVVVXZkFAbWFpbC5nbWFpbC5jb20KCkJyYW5jaAotLS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0t LS0tLS0KaHR0cHM6Ly9naXQucG9zdGdyZXNxbC5vcmcvcGcvY29tbWl0ZGlmZi9lNzIyODQ2ZGFm NGEzNzc5N2VlMzliYzhjYTNlNzhhNGVmNDM3ZjUxCgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0t LS0tLQpzcmMvYmFja2VuZC9zdG9yYWdlL2lwYy9wcm9jYXJyYXkuYyB8IDYgKysrLS0tCjEgZmls ZSBjaGFuZ2VkLCAzIGluc2VydGlvbnMoKyksIDMgZGVsZXRpb25zKC0pCgo= --===============8482090387206016639==--