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 1eollT-0001FN-T6 for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Feb 2018 07:58:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eollT-0007kY-0N for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Feb 2018 07:58:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eollS-0007kO-NJ for pgsql-bugs@lists.postgresql.org; Thu, 22 Feb 2018 07:58:02 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eollQ-000127-EO for pgsql-bugs@lists.postgresql.org; Thu, 22 Feb 2018 07:58:01 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 7A5131286; Thu, 22 Feb 2018 02:57:59 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 22 Feb 2018 02:57:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=+ZMJJBHxmNXPPju3tuir9A/zSuvMgnMfhJdDx67bWlc=; b=azrK3cQz 3n2mlyryBTgOwDzV2tLUMLdgDTUErZV9aJDEcElczEVoqzz3LumJLRFjJ8Yn1YYt C2i9w/mbrMcFpGYUQCiTsNEHWwUUeM3PgUbD6XW9awJ5DQ4nzaVYlYM7npmiaBxq X2Jk39wqXaXv8wChpXfJPkzV4SY2kxx7QR8/1j2NwLwv3PxB7y8Zcj1SDytPPsLK VmMyUYMn2L38hUc4SZnRd8dNjmSuIjQLYnaXkkU709h2Tk9dwE1dhft5/kkeYbcU kvZ/DL/w2Jys7nfXjjP1cS+0h680p9MHHUEbxtjWimtW5PiXjbPrwPnUfe4bvxRc zQHFOfMYzYsF0A== 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-sender :x-me-sender:x-sasl-enc; s=fm2; bh=+ZMJJBHxmNXPPju3tuir9A/zSuvMg nMfhJdDx67bWlc=; b=e8YmXkzuMwplevD3fwc6WociDqR72EaAXYez6K/hEe4P/ DBhndHSYt+HQmudUa6K/6CMfXlqQgVz3UpgognfFce5wNuQeDunl+vcLz8bxoYEa hF7Hna0pb0+f6sjK0FhAXDkuOfkvEXpnx7Lix/gipLGRQRppZshu5dFK1W+Fpwys W6GxQsIWZD9B+aOdOnB9TcKOFL1vyS7VMQ8f0rPcOwvOR8Trjxj42Y4UYeel2b0D J9GP1kq444SvivsIkBXe6BFhx6n6whdmLERSD+/m0a33LA8zpvcMbebIOmG0lLol Z+l6008X2zdUma+f3QSN5XKsrRSN+tBy7dWDyk46A== X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id D337024519; Thu, 22 Feb 2018 02:57:57 -0500 (EST) Date: Thu, 22 Feb 2018 16:57:54 +0900 From: Michael Paquier To: =?utf-8?B?6LaZ5piO5pil?= Cc: Tom Lane , "David G. Johnston" , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #15076: postmaster crashes unexpectedly when using up arrow key in psql command Message-ID: <20180222075754.GD3370@paquier.xyz> References: <151926215049.3890.7661985951683590330@wrigleys.postgresql.org> <18417.1519272409@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pQhZXvAqiZgbeUkD" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --pQhZXvAqiZgbeUkD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 22, 2018 at 03:57:53PM +0900, =E8=B6=99=E6=98=8E=E6=98=A5 wrote: > You mean that the up-arrow key operation in psql.exe may send a SIGINT(or > SIGTERM) signal to server(postmaster) unexpectedly? No. What Tom means here is that you are likely mistaking what you think is a server crash by a client crash, and that the version of libreadline your psql version is linked to is buggy and unable to handle that properly. psql has no control on the server itself. -- Michael --pQhZXvAqiZgbeUkD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlqOeAIACgkQnvQgOdby QH3y3A/+K3i5EZv57CrT6Xmkk+4y0nuYxX2oKeZkumaUNGvTzfSUFio3AFGtHOlU qRzqxOnjiMAwZPRlfgh5rx+GdgjhXEgYRwXlX8nh+0xNe90bNl0bHLndUkEXlwKS bCjRzQSqcgGg6CMAcHOFJmhog8yq7SnJVECKJ6KWcEOIy/lWJOfJ5ao0di8Z4RHa 6mrjwPb+yLoe8mB9AFXRPKjkDEsgu369RHhuNOe0K+IxmdaOiFbrdUV0lEpbHNWY lhTKedo3PUnEkUIW2T1mo/nbYb3BPZA+1SHt66DbEnppb7l+26kfgj8AErC50Sag ZORnD8bNnI9s64BoBW+XI1Zlf1S0jvx36ht53TTTWpc3cJ/J+xVcLmWokydA9Bfm Ht4H17gdGsr3JTdDICdi0p/yUAZJitxhL5Qo0lGdIxXucn/+O5HxPrlQaGHuSGdC 6zXIHXmJLrkMe3f5ESAFzJxJ6LZDIrcC3We0Q/RJf6NQeD0XorCfGUVvDTsGS+CO o+YAHEvkOlc6615TpQrojp1RxCub0mR9J5UJj01nSGslKQluqYYmDYCQIEenYJ5j tIj52h+STgPkptsBrykA+LntuB1CxB7rR4zVacAKrCjS0ct57X4y54iWTLnw2/f0 MSh6yKrjyFUD54yOmIwXfLdE30u79DVgjaCju5F4JYWoKEhUeJg= =Nn25 -----END PGP SIGNATURE----- --pQhZXvAqiZgbeUkD--