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 1mXLR6-0001Ui-RV for pgsql-general@arkaria.postgresql.org; Mon, 04 Oct 2021 10:43:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mXLR5-0004CI-PU for pgsql-general@arkaria.postgresql.org; Mon, 04 Oct 2021 10:43:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mXLR5-0004C9-Cb for pgsql-general@lists.postgresql.org; Mon, 04 Oct 2021 10:43:07 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mXLR1-0006lK-W1 for pgsql-general@lists.postgresql.org; Mon, 04 Oct 2021 10:43:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Nc1OWbFB4FMyfivf3DMLT+qMPsUYuq8HSMnMpI+DEvc=; b=qCZdOjXoF4K1fRji1VRNuk+1hn BI6JEDBMxA2f4ZICaJK8ZcKsIyhgW+G1ztRaXTeRvfaxnWYuxu+JCQEtyXeTzp1CUvUGrk7uhUDPE DUhrfwtzZGG88BHUVZt72nRRA2FOhlqMK5L9MPrFaToqaB60hmu0O7CCDoL0WOAY5/8o=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1mXLQz-0000Rh-A2; Mon, 04 Oct 2021 12:43:01 +0200 Date: Mon, 4 Oct 2021 12:43:01 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Dennis Jacobfeuerborn Cc: PostgreSQL General Subject: Re: Why would Postgres 11 suddenly ignore the recovery.conf file? Message-ID: <20211004104301.GA32330@depesz.com> Reply-To: depesz@depesz.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Oct 04, 2021 at 12:35:48PM +0200, Dennis Jacobfeuerborn wrote: > Hi, > I just stopped and restarted a Postgres 11 docker container which so far has > happily streamed the WAL from its primary but after the restart it now seems > to completely ignore the recovery.conf file and just outputs this: If this is 11, then it would mean that at some point in time Pg was told to finish recovery. Using trigger file, pg_ctl promote, some other means. But, perhaps it's pg 12 (or newer)? If so, then recovery.conf no longer is parsed. Best regards, depesz