Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oREXh-0004et-5Z for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Aug 2022 15:13:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oREXg-0002OU-3V for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Aug 2022 15:13:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oREXf-0002OL-Qe for pgsql-hackers@lists.postgresql.org; Thu, 25 Aug 2022 15:13:11 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oREXc-0000N4-Im for pgsql-hackers@lists.postgresql.org; Thu, 25 Aug 2022 15:13:11 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4MD60g2Vfpz3F68; Thu, 25 Aug 2022 17:13:07 +0200 (CEST) Date: Thu, 25 Aug 2022 17:13:06 +0200 From: Christoph Berg To: Michael Paquier Cc: Daniel Gustafsson , Bharath Rupireddy , PostgreSQL Hackers Subject: Re: pg_receivewal and SIGTERM Message-ID: Mail-Followup-To: Christoph Berg , Michael Paquier , Daniel Gustafsson , Bharath Rupireddy , PostgreSQL Hackers References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Michael Paquier > FWIW, I've worked on an archiver integration a few years ago and got > annoyed that we use SIGINT while SIGTERM was the default (systemd was > not directly used there but the signal problem was the same, so we had > to go through some loops to make the stop signal configurable, like > systemd). SIGTERM is really the default for any init system or run-a-daemon system. Christoph