Re: fsync or fdatasync

From: "Gaetano Mendola" <mendola(at)bigfoot(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: fsync or fdatasync
Date: 2002-09-10 16:24:56
Message-ID: all6ci$2vq1$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


"Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote in message
news:200209101540(dot)g8AFeOo21086(at)candle(dot)pha(dot)pa(dot)us(dot)(dot)(dot)
>
> 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jodi Kanter 2002-09-10 16:47:12 Fw: consulta
Previous Message Ragnar Kjørstad 2002-09-10 16:09:57 Re: fsync or fdatasync