Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSF5s-0002Ay-7n for pgsql-docs@arkaria.postgresql.org; Thu, 29 Nov 2018 05:42:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gSF5q-0005Xd-T6 for pgsql-docs@arkaria.postgresql.org; Thu, 29 Nov 2018 05:42:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSF5p-0005XW-UD for pgsql-docs@lists.postgresql.org; Thu, 29 Nov 2018 05:42:30 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gSF5m-00009Q-6y for pgsql-docs@lists.postgresql.org; Thu, 29 Nov 2018 05:42:28 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 35982211D3; Thu, 29 Nov 2018 00:42:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 29 Nov 2018 00:42:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=WZHclyTtqLoZyDUbN8yGr2oP0CV N4B+4Ly7hgDE7k2c=; b=pENIy0pPy9NxUZH2l2PGTibqyt0hHwcTSxHX9hIE7Jj eo/hnjcxI7q+gniyw7Cr8FGcQXSHfE5tSuwkK1+OX1AwkTfbGgAJRGGbM7RSVMPf zhUImTFM/uk8gORucc734RnvlLGSDPUFt19dQUoEyOXLnhunTl//jhqSpAgWRU86 hSBjmsvg7jyG6cOWISL5F+rOQJfWuFGGQnXyhrFDuAaZNrbB3KkMSbwiV09UUBZT tDyux6X9y0FYpN3L5ap0Z0SDWAgtQYdjks0oWRlaMnUKv7aBAA+hPL7j7BwyyjgT Gjq9OPtadLW/JYmWuI2yZ/EnZJYzyEsOkjfmv3hFi+w== 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-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=WZHcly TtqLoZyDUbN8yGr2oP0CVN4B+4Ly7hgDE7k2c=; b=buQ2I/jd/SiBFTrN282xUP +SqD/41b95ObTB4dH7uBXlE2JcLGkJA4ITqSdC5PRhdBb69LXSATvBkRsDJ1DzP6 ywCPDbarjMclAw6DXPHv1LDLFyB5xUmabypGWZ8hRYGF4W3WroSkLolywHIIloXZ FPKvXLVynJ06rvOJX2rHx699X97Oebnib77kicPNicTYcLedEtX+V97DyH2XZZC4 rmeCkQ7E1DKqy5wOcvFaPXv4pS/ecjPN/CNDfI0PC2CI0ef2OcGicm7jIB6c3DP8 w0rdlNqAYpgI3hFEFHKnA6DcA/Y3Oh0TRJGH/I/Otkzw+eDQ37W4ik6Euc8dgZmw == X-ME-Sender: X-ME-Proxy: Received: from paquier.xyz (mp76f1f8bd.ap.nuro.jp [118.241.248.189]) by mail.messagingengine.com (Postfix) with ESMTPA id 6FF09104F3; Thu, 29 Nov 2018 00:42:23 -0500 (EST) Date: Thu, 29 Nov 2018 14:42:20 +0900 From: Michael Paquier To: Stephen Frost Cc: splarv@ya.ru, pgsql-docs@lists.postgresql.org Subject: Re: Return codes for archive and restore commands Message-ID: <20181129054220.GM626@paquier.xyz> References: <154340283171.1324.10549444217937216132@wrigleys.postgresql.org> <20181129022347.GH626@paquier.xyz> <20181129023957.GU3415@tamriel.snowman.net> <20181129032542.GL626@paquier.xyz> <20181129032731.GV3415@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vDEbda84Uy/oId5W" Content-Disposition: inline In-Reply-To: <20181129032731.GV3415@tamriel.snowman.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --vDEbda84Uy/oId5W Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Nov 28, 2018 at 10:27:31PM -0500, Stephen Frost wrote: > Yes, it couldn't be exactly the same as a generic background worker, > that's a good point. We definitely need to make sure that the > postmaster waits for the archiver to shut down, as it does for the WAL > senders. Just to be clear, please note I don't think that what removing the archiver code from the core code is a bad idea, quite the contrary actually. But I doubt that it would be acceptable to rip off this code without something which has the same properties and guarantees for any users depending on it. And archive_command is used a lot. -- Michael --vDEbda84Uy/oId5W Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlv/fDwACgkQnvQgOdby QH3+ehAAihiYJOzysEyxL1+dFr8h22lLEoXSZ+T5yswj/SFAGZbLBRqYAsT7aEMw +WNB6Pyoyv5wZq2V65hoUAC3AR6aU4tIuKzb3LzM8p4kkfNXZPbxE28A0AvUYRl/ fg+yUWQb3t5uFRw+msjnZi1lsq8FikIqQJG4mLWLSMg6Z4WVhKmSx78FE5V0roN4 f5CGqKE/8e+/8l6JlsYa5XmLW22td7guYgX+yh1ZZ+8osibjAovKCs2J1dGX09cM 3x45HF5Z59OjCEo0uup8ByBa3lC8fEKSojpt4KYK8tHKKFMIzB18q3xtCUDv6Xzr Bdfjnna5Up6A+2qABttmCdcdg0Z4vbffcK/I5oQ/r6BXqmfPQ8hxCB1j2E6fWGzm FCaTgkUplZ/vQ701uQRIp5qclBq1N+hKkmM6DoaEecaSn6atdUsR7Jrutb0wYicQ 9ldR+OUhcwHsKZD4Kxr2wFDHLbHHLOxWxv71HEtdF6OpPkb9Cu2MSId35Yk6jQZs 6u/TKoE2iOiuoV7H6k/lRkFNo1e0jqdkTJrVQz69y4+QMl52R5cYQCRVzU6Io19S 5eYSCozJOT+nAIcJFCXyaMVGFInnPL3WIUrlTkeCSrd9dFNUZ+hzcIMGLW2iSeSP /SmBI19f92SzhNevYMIV1HBQPqXzoypu+vmxyytp7EdaqqCPuyA= =eMu4 -----END PGP SIGNATURE----- --vDEbda84Uy/oId5W--