disk caching for writing log - Mailing list pgsql-hackers

From flyusa2010 fly
Subject disk caching for writing log
Date
Msg-id AANLkTik_wxokXpU=1U3_dXWtnBqMPm9pycWcNqZgfe+C@mail.gmail.com
Whole thread Raw
Responses Re: disk caching for writing log  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
When writing log, dbms should synchronously flush log to disk. I'm wondering, if it is possible that the logs are in disk cache, while the control is returned to dbms again, so dbms thinks logs are persistent on disk. In this case, if the disk fails, then there's incorrectness for dbms log writing, because the log is not persistent, but dbms considers it is persistent!

Am I correct?

pgsql-hackers by date:

Previous
From: Sergio Lifschitz
Date:
Subject: Re: Hypothetical Indexes - PostgreSQL extension - PGCON 2010
Next
From: Florian Weimer
Date:
Subject: Re: Idle git question: how come so many "objects"?