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 1jlw9m-0002Ym-O0 for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jun 2020 15:08:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jlw9k-0003Ae-9K for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jun 2020 15:08:44 +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 1jlw9j-0003AX-NZ for pgsql-hackers@lists.postgresql.org; Thu, 18 Jun 2020 15:08:44 +0000 Received: from mail.dalibo.com ([212.85.157.172]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlw9h-000076-Ho for pgsql-hackers@postgresql.org; Thu, 18 Jun 2020 15:08:43 +0000 Received: from firost (larco.ioguix.net [82.66.0.6]) by mail.dalibo.com (Postfix) with ESMTPSA id 7C5E1226E3; Thu, 18 Jun 2020 17:08:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1592492919; bh=loIkBbbLN6evbXtE6Zgj8BAH+YSIccYY4hZHnb+7/0Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UZvu9g/oNMwJC858vb0Twb9gT3eZMsSaHLUjRKBfq10JuBJgcP7NaXZbVNndu9B/o MXUUmSLL3I+gRQEpQYyW8jYPuoYwYD24iIwrf3qMYl3rljxBOtqA1jKoh9S5mDMxNa VtXJ+ABepwycOSk9yrJB1PCjGOgBdoWRqt8ZLe1U= Date: Thu, 18 Jun 2020 17:08:38 +0200 From: Jehan-Guillaume de Rorthais To: Robert Haas Cc: Amit Kapila , amul sul , PostgreSQL-development Subject: Re: [Patch] ALTER SYSTEM READ ONLY Message-ID: <20200618170838.47524949@firost> In-Reply-To: References: Organization: Dalibo MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, 18 Jun 2020 10:52:49 -0400 Robert Haas wrote: [...] > But what you want is that if it does happen to go down for some reason before > all the WAL is streamed, you can bring it back up and finish streaming the > WAL without generating any new WAL. Thanks to cascading replication, it could be very possible without this READ ONLY mode, just in recovery mode, isn't it? Regards,