pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup.
Date: Tue, 19 Sep 2017 09:10:12 -0700
Message-ID: <20170919161012.i3j4ugktf2xkr4kb@alap3.anarazel.de> (raw)
In-Reply-To: <CA+TgmoZ+=ZMD9bBxJ2e42z1EGJYd9Zm+_g73Kn4CML6BU6bfRA@mail.gmail.com>
References: <20170916182634.blb7upixw7hosdhu@alap3.anarazel.de>
	<23456.1505586621@sss.pgh.pa.us>
	<20170916183849.kgqlyi3q2oy4qjkx@alap3.anarazel.de>
	<27204.1505591941@sss.pgh.pa.us>
	<20170916202705.lhszupzi3s4iaxy6@alap3.anarazel.de>
	<20170917080752.rcmihzfmgbeuqjk2@alap3.anarazel.de>
	<20170918103213.nhlmfh5v3qrgoskg@alap3.anarazel.de>
	<CA+TgmoYAPTmm1ZhvOb+iuJxsxWdXiO5LtcLFsMRQxHa8LpVxWA@mail.gmail.com>
	<20170918180439.mgxvnbmxzb6br57t@alap3.anarazel.de>
	<CA+TgmoZ+=ZMD9bBxJ2e42z1EGJYd9Zm+_g73Kn4CML6BU6bfRA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2017-09-19 07:48:42 -0400, Robert Haas wrote:
> Oh, I've not seen that.  Mostly, what I think we should fix is the
> fact that the libpq messages tend to report that the server crashed
> even if it was an orderly shutdown.
> 
> [rhaas ~]$ psql
> psql (11devel)
> Type "help" for help.
> 
> rhaas=# select 1;
> FATAL:  terminating connection due to administrator command
> server closed the connection unexpectedly
>     This probably means the server terminated abnormally
>     before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.
> 
> It's sort of funny (but also sort of sad) that we've got libpq talking
> down the server's reliability (and even in the face of evidence which
> manifestly contradicts it).

Yea, I'm not very happy with that either. I really think we should stop
emitting that if we got an actual message from the server.

Unfortunately the backends themselves also react with inaccurate error
messages to things like immediate shutdowns...

Greetings,

Andres Freund


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (21+ messages)  latest in thread

Message-ID: <20170919161012.i3j4ugktf2xkr4kb@alap3.anarazel.de>
Permalink:  ../20170919161012.i3j4ugktf2xkr4kb@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20170919161012.i3j4ugktf2xkr4kb@alap3.anarazel.de

 · 

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-committers@postgresql.org
  Cc: andres@anarazel.de, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup.
  In-Reply-To: <20170919161012.i3j4ugktf2xkr4kb@alap3.anarazel.de>
  References: <20170916182634.blb7upixw7hosdhu@alap3.anarazel.de> <23456.1505586621@sss.pgh.pa.us> <20170916183849.kgqlyi3q2oy4qjkx@alap3.anarazel.de> <27204.1505591941@sss.pgh.pa.us> <20170916202705.lhszupzi3s4iaxy6@alap3.anarazel.de> <20170917080752.rcmihzfmgbeuqjk2@alap3.anarazel.de> <20170918103213.nhlmfh5v3qrgoskg@alap3.anarazel.de> <CA+TgmoYAPTmm1ZhvOb+iuJxsxWdXiO5LtcLFsMRQxHa8LpVxWA@mail.gmail.com> <20170918180439.mgxvnbmxzb6br57t@alap3.anarazel.de> <CA+TgmoZ+=ZMD9bBxJ2e42z1EGJYd9Zm+_g73Kn4CML6BU6bfRA@mail.gmail.com> <20170919161012.i3j4ugktf2xkr4kb@alap3.anarazel.de>

* 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