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 1jLkB9-00066k-P2 for pgsql-general@arkaria.postgresql.org; Tue, 07 Apr 2020 09:05:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jLkB8-0004Rg-Gr for pgsql-general@arkaria.postgresql.org; Tue, 07 Apr 2020 09:05:54 +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 1jLkB8-0004RK-9F for pgsql-general@lists.postgresql.org; Tue, 07 Apr 2020 09:05:54 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jLkB5-0001qe-1S for pgsql-general@postgresql.org; Tue, 07 Apr 2020 09:05:52 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 570D81B90; Tue, 7 Apr 2020 12:05:47 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DzjNAJ4-Ilhg; Tue, 7 Apr 2020 12:05:45 +0300 (EEST) Received: from mail.hot.ee (hot-relayhost2.estpak.ee [213.180.2.80]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 228B81B7F; Tue, 7 Apr 2020 12:05:45 +0300 (EEST) Received: from dell2 (66-63-196-88.sta.estpak.ee [88.196.63.66]) (Authenticated sender: kobruleht2) by HOT-Relayhost2.estpak.ee (Postfix) with ESMTPSA id 48xM2H3qmhz39K; Tue, 7 Apr 2020 12:05:42 +0300 (EEST) Message-ID: <9745BAA3A0724CE8B8B63E42C77400D3@dell2> From: "Andrus" To: "Laurenz Albe" , "pgsql-general" References: <5E2C91B46CEF42078CC7BEE1EDC10F0E@dell2> <0A8FE679886142EBABB0AC8102477904@dell2> <0E181F52FD6449568F620E9C84427D10@dell2> In-Reply-To: Subject: Re: How to prevent master server crash if hot standby stops Date: Tue, 7 Apr 2020 12:05:23 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi! >About your third question, you *never* manually mess with the files in pg_wal. >The server does that. Is it OK to stop server, delete all files in pg_wal directory and re-start server ? Or should default value put back and wait until server frees 1 GB disk space ? Andrus.