Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPxhB-0006CW-0I for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Mar 2014 17:20:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WPxhA-0003Lc-C6 for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Mar 2014 17:20:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPxh9-0003Kj-H7 for pgsql-bugs@postgresql.org; Tue, 18 Mar 2014 17:20:55 +0000 Received: from moutng.kundenserver.de ([212.227.17.13]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPxh5-0007kW-Oz for pgsql-bugs@postgresql.org; Tue, 18 Mar 2014 17:20:55 +0000 Received: from anarazel.de (p5DDC5F6F.dip0.t-ipconnect.de [93.220.95.111]) by mrelayeu.kundenserver.de (node=mreue105) with ESMTP (Nemesis) id 0LZwBp-1WpRk52ChZ-00lpeg; Tue, 18 Mar 2014 18:20:48 +0100 Received: by anarazel.de (Postfix, from userid 1000) id D2ED8100A79; Tue, 18 Mar 2014 18:20:47 +0100 (CET) Date: Tue, 18 Mar 2014 18:20:47 +0100 From: Andres Freund To: Fujii Masao Cc: Michael Paquier , Heikki Linnakangas , jhedden@apple.com, pgsql-bugs Subject: Re: BUG #9118: WAL Sender does not disconnect replication clients during shutdown Message-ID: <20140318172047.GY16438@awork2.anarazel.de> References: <20140206030853.13610.71518@wrigleys.postgresql.org> <52F3425F.5050101@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:zATX7A9ftpR70g09AZ4BPim22f9o/TFgkqiOE2G/DgD MhscfWxOj5sUKL29msg397EGYdhpxcvJsv9mW3OF+vhhkha29D YdLyOMer1VdcEAuiWPANmAlJKKSSSerD0GaGRlb7SWH8gt+Tsj oHsj8UZ8KgNrii441dPIrsJSM+caXCrrEupqe9f/hwRmQzAygq M83L9RWcpgHHtctc8bLM7wm0AEvEV6VhwahQa33jSzoTCOY6jm pvkUPa0yRd6uTnqn73CpYEoCYqMIDVgcW1bDkB7T4CteHm7DW/ +pE3e4NrQwaydz/0c4ToYxhtpvHQGoEIqfban3T/uJ5mTWQOsu IN+yu16XBecm/31qNU3m/8P8rW9cmySGvFfrIl54L X-Pg-Spam-Score: -1.9 (-) 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 On 2014-03-19 02:16:00 +0900, Fujii Masao wrote: > > Comments of WalSndWaitForWal would need an update as well in this > > case. It is written on top of this function that it waits "until WAL < > > loc is flushed to disk". > > I don't think that comment needs to be updated because it means that > "until WAL < loc is flushed to the *master local* disk". It's not related to > the flush location that the standby returns. Anyway, I attached the patch. > Barring objection, I will commit this. I object on behalf of WalSndWaitForWal(). We really need the flush location there because otherwise we can't remove old WAL. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs