Re: Bgwriter behavior - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bgwriter behavior
Date
Msg-id 29075.1103817935@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bgwriter behavior  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Bgwriter behavior
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I remember the other difference between 8.0 and pre-8.0.  When a backend
> has to write a block in 8.0, it does a write _plus_ fsync(), while in
> pre-8.0 it did only a write.  There was a proposal to pass backend write
> information to the background writer so it would know to fsync at
> checkpoint, but it was decided that backend writing would be rare.  I
> think we have to rethink that assumption.

No, just read the code.  The above assertions are all wet.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Connection without database name
Next
From: Bruce Momjian
Date:
Subject: Re: Bgwriter behavior