Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gKvU0-0003eG-00 for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Nov 2018 01:21:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gKvTy-0006oQ-91 for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Nov 2018 01:21:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gKvTy-0006oJ-2R for pgsql-bugs@lists.postgresql.org; Fri, 09 Nov 2018 01:21:10 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gKvTu-0006FG-57 for pgsql-bugs@lists.postgresql.org; Fri, 09 Nov 2018 01:21:09 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B323222355; Thu, 8 Nov 2018 20:21:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 08 Nov 2018 20:21:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=he/Xc2p52bE8cy18KJXm03CqJjq sq+/nstgw4Ehtxz0=; b=gakhS/ONkG1hMesa0bAVcsdkhJ+qHII7SM9DFhdcUOr Sr20hez3Qbf9Uhh4mBeswfkwqvO2cVA1K8wPVGzvR18qRvBEKLs2KfEnyuBqzdvF ehTxDwZRPBXmvZdcoMpvy/j5j9j7bjb6sW2XXJMJ3eWZN+xli+/Fev0UBGACBDED HZWR/DD6TdIHDjgx2FAn41uE/xtuta4+h1vx9LKL/F8+HLGDZAiVR5Pf39UPEpNy fyXAdveR8loiEP1u2wjhpkb3C9efYWLxDYWQCXoJwL1cUy4s8T+lvD7uG+z0yih4 oi/hcB7+oybkF33JwJxNu+m3KG6y5JTMeAZw3qgu0DQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm1; bh=he/Xc2 p52bE8cy18KJXm03CqJjqsq+/nstgw4Ehtxz0=; b=MeKbiORXpz6qcckDmCd9bT 79HaBax+jj6Xl6sMSQMm76fVD/vykXkG1gMOU1Q15W9FTPLze0vOygcKJu9+L4/h xA5xQE2rplnyqS75mvOADPYMrWLA7SLhoDBEMo4kqyCDUklfitDrVQdYlgye2PYs jcx6OWCL3IoJfkvfDjeN5fLDHbPH9htzvnv770AJuQ8sSAk+69F6jdgqfCr88W7I lJs8/K8fQfO7HJhyPEO6eV99BDyu7jLCztJxNCs004/sDEdoLDQTsd21Ls0Hv/Gz mBu2xxR7CL4pvEOqDXm94K0vZMNs3tusXxAZEUs9ejaoPpWCV9YC3C9v+AvL54Bw == X-ME-Sender: X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 1910B102E4; Thu, 8 Nov 2018 20:21:01 -0500 (EST) Date: Fri, 9 Nov 2018 10:20:58 +0900 From: Michael Paquier To: Magnus Hagander Cc: Alexander Law , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15492: pg_cancel_backend(pg_backend_pid()) returns true sporadically Message-ID: <20181109012058.GC2652@paquier.xyz> References: <15492-9b79ce7d1e0687a9@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lMM8JwqTlfDpEaS6" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --lMM8JwqTlfDpEaS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 08, 2018 at 11:31:41AM +0100, Magnus Hagander wrote: > The *comment* talks about suicide, which indicates that maybe the original > intention was to use pg_terminate_backend()? But it has also been i nthere > since 2009, so why is this problem only showing up now? Perhaps because the buildfarm does not actually test them on Windows, because those tests are not run in MSVC scripts even if vcregress.pl is run manually, and because doing a [install]check-world from the top of the tree does not trigger them either? We could get those running within a TAP test automatically I think. -- Michael --lMM8JwqTlfDpEaS6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlvk4PoACgkQnvQgOdby QH2uWRAAkUM/jo/sCS9j7+7GX8wefYqyw4P+wukZ25MJD2+FfVu8R2DPIFPSZpTi fMKFkOjIrkgE25Up2usE9UvupOo6V0k8CdA0+k3jvbwu0ia5SshG6EyDaXUP9GWD 8IyPxCVToHSS6i4bLepm2H42PgUsbi64BIcP6QRwPrpTMyxV77SCT78pVXkuTQQi NGB/K3qO+RbCg5OP9YnytYLaHdGV+LWF0bDqCpMkVKiB0UvyN52ogUA3Sg2+daS2 SoSoN0qd4lG9h5oxy/47LerBISq59KAzjFFLdrWZ51hp79cSF250a8eUFSPEuOXr IkURkHGkgOIDC5b+aEWgouG61aCWi+KVUSdT5AvW5Qs0llhhbjMcwIb6blPdBrmz u/iCI9b3qPEksduD3IMWoz9qfcU7zBpqsPkv/uiWbSoedq7h1MimMa02ahliana/ FSE4pa4LpVuOUHIo2uspxuxaWgYLp0YwmWc99fAYjKEzEk43YfZvP8a2Co6iwX0f 6a3ZhytiiU4IQV10TQEylqDzNTXyzn/Ho0Vb2nyKtJD6GeNJNX3SvSwGNpBEJYW/ Y/tIy79Q9OZotned2k3MyBTbHsz1VKVT/ojtZufZvJy6uU1QqX5GtYHtMvOJGl8q RsiWe0l1q1bNmgg/IgICZvNF0J7+nFlz7DlXUENtIlwVzVXdN8w= =57wa -----END PGP SIGNATURE----- --lMM8JwqTlfDpEaS6--