Received: from maia.hub.org (maia-1.hub.org [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 474846338B3 for ; Fri, 7 May 2010 21:13:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 21761-02 for ; Sat, 8 May 2010 00:13:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id DD894632B79 for ; Fri, 7 May 2010 21:13:42 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o480DW3P004336; Fri, 7 May 2010 20:13:32 -0400 (EDT) To: Josh Berkus cc: pgsql-docs@postgresql.org Subject: Re: [HACKERS] no universally correct setting for fsync In-reply-to: <4BE4AA33.7020700@agliodbs.com> References: <4BE3D3930200002500031382@gw.wicourts.gov> <4BE425F7.30804@dunslane.net> <4BE3E205020000250003138F@gw.wicourts.gov> <4BE4543D.8010309@agliodbs.com> <4BE4AA33.7020700@agliodbs.com> Comments: In-reply-to Josh Berkus message dated "Fri, 07 May 2010 17:02:59 -0700" Date: Fri, 07 May 2010 20:13:32 -0400 Message-ID: <4335.1273277612@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/4 X-Sequence-Number: 5501 Josh Berkus writes: > This is what I have to replace the current fsync entry in config.sgml. s/unexpected shutdown/system crash/, perhaps. The wording you have suggests that a forced Postgres stoppage produces a problem, which it doesn't. It takes a failure at the OS level or below to cause a problem. > I believe that the note about needing fsync for Warm Standby to work > correctly is true, but could someone verify it? AFAIK that's nonsense. The filesystem state that pg_standby could see will be updated in any case; pg_standby has no direct access to the bits on the platters, any more than Postgres does. regards, tom lane