Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duWqC-00005Q-HM for pgsql-committers@arkaria.postgresql.org; Wed, 20 Sep 2017 04:42:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1duWqB-0003O4-Gd for pgsql-committers@arkaria.postgresql.org; Wed, 20 Sep 2017 04:42:27 +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.84_2) (envelope-from ) id 1duWqA-0003L3-Cb; Wed, 20 Sep 2017 04:42:26 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1duWq2-0001Dc-S9; Wed, 20 Sep 2017 04:42:25 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DEA24212B4; Wed, 20 Sep 2017 00:42:16 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Wed, 20 Sep 2017 00:42:16 -0400 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:x-sasl-enc; s=fm1; bh=9ypa/Ol4QD5Gtbe4/Y ImxyevoanBYTg5Ull7JvfCgNU=; b=e3/ONhbN/Z6jtgDvp8wJmCwt1RPpYIlqOh y5/wYHMPDIobNraoU0xVyDFTZ8c0GDAHBspztDPHPTTNs5fUGqYaFEQYWiE/Er8X 5XUss+btXb8Qk/w2hrG7GjBrWVZo8T130pkXabmrmcWqGdhcqQLNZw2++0GPl+Sm TjsGgoxRSWbX4M02cO989so5/JZjHdP6LwWOjdvVesIGkejK1rzLnPcLlS4wWYZF iTZWpr2VhfcnmSSnMOP/HN5791+agwxVZVXMC8WrmAlGzmVaFEL3Y7AC+Rn/EUeB Nz7Njt6fTQIE02oY01ZpIzPPtkQjoqPgKmm6fGwXJRX6YZMwSEOg== X-ME-Sender: X-Sasl-enc: NXmUgTnLskm6ddXjgZGWMadb2VGAwMFEDLMXqP3ZI8sb 1505882536 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 984F72432B; Wed, 20 Sep 2017 00:42:16 -0400 (EDT) Date: Tue, 19 Sep 2017 21:42:15 -0700 From: Andres Freund To: Tom Lane Cc: pgsql-committers@postgresql.org, pgsql-hackers@postgresql.org Subject: Re: [HACKERS] Re: pgsql: Make new crash restart test a bit more robust. Message-ID: <20170920044215.trhnbhwflzodrlnc@alap3.anarazel.de> References: <20170919192032.ctybexs5whww2rw6@alap3.anarazel.de> <28340.1505849089@sss.pgh.pa.us> <20170919202518.au4ngniiwdsyewbp@alap3.anarazel.de> <1136.1505854018@sss.pgh.pa.us> <20170920010629.3icid5ukemkrr42k@alap3.anarazel.de> <20170920020038.kllxgilo7xzwmtto@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170920020038.kllxgilo7xzwmtto@alap3.anarazel.de> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2017-09-19 19:00:38 -0700, Andres Freund wrote: > Given this fact pattern, I'll allow the case without a received error > message in the recovery test. Objections? Hearing none. Pushed. While debugging this, I've also introduced a pump wrapper so that we now get: ok 4 - exactly one process killed with SIGQUIT # aborting wait: program died # stream contents: >>psql::9: WARNING: terminating connection because of crash of another server process # DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. # HINT: In a moment you should be able to reconnect to the database and repeat your command. # psql::9: server closed the connection unexpectedly # This probably means the server terminated abnormally # before or while processing the request. # psql::9: connection to server was lost # << # pattern searched for: (?^m:MAYDAY: terminating connection because of crash of another server process) not ok 5 - psql query died successfully after SIGQUIT Greetings, Andres Freund -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers