Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YmrQK-0000Ug-L5 for pgsql-bugs@arkaria.postgresql.org; Mon, 27 Apr 2015 22:22:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YmrQK-0003Kt-2l for pgsql-bugs@arkaria.postgresql.org; Mon, 27 Apr 2015 22:22:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YmrQI-0003Ip-OV for pgsql-bugs@postgresql.org; Mon, 27 Apr 2015 22:22:42 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YmrQG-0003m0-AY for pgsql-bugs@postgresql.org; Mon, 27 Apr 2015 22:22:41 +0000 Received: from intern.anarazel.de (p54AF4925.dip0.t-ipconnect.de [84.175.73.37]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 11026860001; Tue, 28 Apr 2015 00:22:38 +0200 (CEST) Date: Tue, 28 Apr 2015 00:22:37 +0200 From: Andres Freund To: Patrice Drolet Cc: Alvaro Herrera , "pgsql-bugs@postgresql.org" Subject: Re: [SPAM] Re: BUG #13143: Cannot stop and restart a streaming server with a replication slot Message-ID: <20150427222237.GA2658@alap3.anarazel.de> References: <20150424101006.2556.60897@wrigleys.postgresql.org> <20150425123357.GC12723@awork2.anarazel.de> <20150427144447.GT4369@alvh.no-ip.org> <20150427151229.GG18789@awork2.anarazel.de> <20150427160015.GW4369@alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Hi, On 2015-04-27 12:50:32 -0400, Patrice Drolet wrote: > On Windows, this is really easy to have this problem : create a replication slot then try to restart the server. The server will refuse to start. > > I checked the file it was not read only. There is nothing I could do to the file or the directory to succeed in restarting pg. > > I put fsync=off and I could start pg. but this is not a good permanent solution! I've pushed a fix for this. It'll be included in the next 9.4 minor release. Thanks for the report! Andres Freund -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs