X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2B1E511F66A0 for ; Thu, 13 Apr 2006 13:58:29 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.12 X-Spam-Level: X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 0obH+o2WCNKb for ; Thu, 13 Apr 2006 13:58:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from pih-relay06.plus.net (pih-relay06.plus.net [212.159.14.133]) by postgresql.org (Postfix) with ESMTP id E415111F66F6 for ; Thu, 13 Apr 2006 13:58:23 -0300 (ADT) Received: from [213.162.97.75] (helo=mail.metronet.co.uk) by pih-relay06.plus.net with esmtp (Exim) id 1FU59D-0008Ru-4f for pgsql-docs@postgresql.org; Thu, 13 Apr 2006 17:58:23 +0100 Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id D0F1B73767 for ; Thu, 13 Apr 2006 18:00:19 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 6299F15EA4 for ; Thu, 13 Apr 2006 17:58:22 +0100 (BST) Message-ID: <443E832D.30405@archonet.com> Date: Thu, 13 Apr 2006 17:58:21 +0100 From: Richard Huxton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: Proposed doc-patch: Identifying the Current WAL file Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200604/5 X-Sequence-Number: 3504 Reading Tom's posting here: http://archives.postgresql.org/pgsql-general/2006-04/msg00499.php I just realised we don't seem to mention this in the docs anywhere. I propose adding a short paragraph to 23.3.1 http://www.postgresql.org/docs/8.1/static/backup-online.html#BACKUP-ONLINE-CAVEATS After "Except in the case of retrying a failure, it will be called only once for any given file name." To identify the current, partially-filled WAL segment, sort first by mtime and second by file name. That is, take the latest mtime among the properly-named files, breaking ties by taking the higher filename. -- Richard Huxton Archonet Ltd