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 1mPdio-0007nz-Mp for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Sep 2021 04:37:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mPdin-0003Ii-FO for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Sep 2021 04:37:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPdil-0003IZ-VA for pgsql-bugs@lists.postgresql.org; Mon, 13 Sep 2021 04:37:33 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPdii-0004ba-N9 for pgsql-bugs@lists.postgresql.org; Mon, 13 Sep 2021 04:37:31 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id BA4EA5C00A2; Mon, 13 Sep 2021 00:37:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 13 Sep 2021 00:37:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=xcEFtCszR9cWGH0K5gZISbMehh4 vSRdIVIoY6aBpWng=; b=ZUlctLeeZlomiPHFVIB3WHaGFg+nHYoL3OdcEXJtyn9 kwUgsLwWTCqL/aPZ3L5ytvrBwb1EXRkrWnVFzujV4gG2fR7q1gNQ8jhnAbUp0GtV bkr6/uE/qzHXc8PjwZC+aOvNcl1Z7cwn10w6cvkpeTucnufobYAj1Loz8xZK3bzE Md4BB0o1rGV9lgKjJjaifC+NjOgTpxA/gkRwYgnp3sLjdycfa0AiRq65VvoZl4B7 /FoUFZod574oKalESQynrQYX1UVxghXtTcbtFbUMAnbe7gPxRyq3a3wkTNx8y6Rp 6OoW3I1htlQRZGjlsJN938mJy+YmrH0aFlgdhoBTN8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=xcEFtC szR9cWGH0K5gZISbMehh4vSRdIVIoY6aBpWng=; b=X8Z3NH5nQQEByV5mVtDPF/ G+AzJnnEd6PMp6Vl+42DrkC7sFv+Vxo2pCbOHfNGNjQDzeiAo55568JH1umhrDZW 6O9Rmrf2BGW3qm9X26Pq2Eg1vCJVVFkiDzquOtvSMk+zE93eljvprxums4P6SYbZ hxFEjkLKejRs0vUf2rNDXi7KoMjbf8xJxHYtbWtSbA8J/c7HLtVjrnx4DYbYJQVS NuyAoE7nOIkMs7NsoeEuj3VWm4vENgsq0RIYWP2n+Ma7a7qtgVfYJO+SUvUf24Ix 2Wq254iqrz/CBJu8PdxC1oEH0Dh+IpQHpkCRb2HO6JTlTKxTODGRWKY95+AJb0jA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudegiedgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthh grvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Sep 2021 00:37:24 -0400 (EDT) Date: Mon, 13 Sep 2021 13:37:21 +0900 From: Michael Paquier To: ryancaicse@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17186: In connect.c, the lock connections_mutex is not correctly released(Line 463) at the return(Line 522) Message-ID: References: <17186-b4cfd8f0eb4d1dee@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xO3Egvco13mmFRJj" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --xO3Egvco13mmFRJj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Sep 11, 2021 at 02:38:47PM +0900, Michael Paquier wrote: > If a client is under memory pressure, that could really mess up > applications and the list of connections, so this had better be > backpatched. Done as of 3768c46, down to 9.6. Thanks for the report, Ryan. -- Michael --xO3Egvco13mmFRJj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmE+1YEACgkQnvQgOdby QH1D8g//fdBNrbnbyR9bk1XVvsV9ByBxx4LzNo2ExSA2Kb3V88msOsKThbb0QkqD 8p72NowmuSDB9vsIz1BS0CkS1f8Eco9HYkrGaskCMP8mdxi5rHamjgrj1Qni1Ch+ je8X88i0uVVJ4IcCkGmgVLSXvOADvAVNU6edade9iWt+ZerPD44EBTT6RrEN41bk 2ZkgfgTN1XbS6XS/i9Kcn3fgJbKKT4jfTCfAK3bVz9uKkIAPAq55Z1SQMk35p/8R qAUkZN/xjU//0T+BWmblN6NRGffFktgdYhcqEFMRCM25jl/e41HuvkA0rO2VdJlL prmDHxma9fqMyT1PIEiuLUwlXJDDJzR5FRPTUSOGsnSDoRDoh0/QHM+jUbjbHjjx LsNdyjeXDLgmeLmtyivYVOt0A74LPvzyZFWD1/HhKu0ryPQ5uxOlc6uPTjlRZpW8 Wh9cayLAhs2hpC9YkzhFlpr+3SLJuXn6IHyfTwlSu/FDI0Q36NURD2Gqpk4W7aQy bwgW/MUhivj/uTt++sZSNrQ87meLx1IgOAW7cVLkyJ7Tcc0l6iNaVm/dMuNkPRX5 XAQjMlpxUlbnl6pTMJSRP+MwWy9cpEPGr5TiUIolvhY5EtzhtSjAuAv6zcoKs2h7 uKs08PoRBKkcPOI7nSQMvjQEagk/FKOuZ17yb1pQmYkZ/4FxZNY= =1sLP -----END PGP SIGNATURE----- --xO3Egvco13mmFRJj--