pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: 趙明春 <mzhao@insight-tec.co.jp>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15076: postmaster crashes unexpectedly when using up arrow key in psql command
Date: Thu, 22 Feb 2018 16:57:54 +0900
Message-ID: <20180222075754.GD3370@paquier.xyz> (raw)
In-Reply-To: <CAGwivJEMLYMnt05QrU9Gx=SDLFEZ-AZb-LhThijes2S93yv+uQ@mail.gmail.com>
References: <151926215049.3890.7661985951683590330@wrigleys.postgresql.org>
	<CAKFQuwa9r_P+zminmPFJAs2nydDAmTD8Dvzx4EUcUpdQE_-Lgg@mail.gmail.com>
	<18417.1519272409@sss.pgh.pa.us>
	<CAGwivJEMLYMnt05QrU9Gx=SDLFEZ-AZb-LhThijes2S93yv+uQ@mail.gmail.com>

On Thu, Feb 22, 2018 at 03:57:53PM +0900, 趙明春 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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (12+ messages)  latest in thread

Message-ID: <20180222075754.GD3370@paquier.xyz>
Permalink:  ../20180222075754.GD3370@paquier.xyz/
Also on:    postgresql.org/message-id/20180222075754.GD3370@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, mzhao@insight-tec.co.jp, tgl@sss.pgh.pa.us, david.g.johnston@gmail.com
  Subject: Re: BUG #15076: postmaster crashes unexpectedly when using up arrow key in psql command
  In-Reply-To: <20180222075754.GD3370@paquier.xyz>
  References: <151926215049.3890.7661985951683590330@wrigleys.postgresql.org> <CAKFQuwa9r_P+zminmPFJAs2nydDAmTD8Dvzx4EUcUpdQE_-Lgg@mail.gmail.com> <18417.1519272409@sss.pgh.pa.us> <CAGwivJEMLYMnt05QrU9Gx=SDLFEZ-AZb-LhThijes2S93yv+uQ@mail.gmail.com> <20180222075754.GD3370@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox