Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7B11D4766AA for ; Tue, 10 Sep 2002 12:24:53 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id DA34B47668D for ; Tue, 10 Sep 2002 12:24:52 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 720BA381D46; Tue, 10 Sep 2002 12:24:51 -0400 (EDT) From: "Gaetano Mendola" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: fsync or fdatasync Date: Tue, 10 Sep 2002 18:24:56 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 25 Message-ID: References: <200209101540.g8AFeOo21086@candle.pha.pa.us> X-Complaints-To: news@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/167 X-Sequence-Number: 5706 "Bruce Momjian" wrote in message news:200209101540.g8AFeOo21086@candle.pha.pa.us... > > The original poster was wrong about the default. > > We use fdatasync where available, and fsync when it is not. We also use > O_SYNC on open if it is available. The original poster is me! :-) I was pointed to a document ( that I don't find anymore ) where I understood that the default was fsync. I'm sorry for the little flame.... :-( PS. It is in the plans to use raw disks ? Ciao Gaetano