Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] SRA Win32 sync() code

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>,PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [PATCHES] SRA Win32 sync() code
Date: 2003-11-16 20:17:08
Message-ID: 9687.1069013828@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-patches
Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
> Removing sync() entirely requires very accurate fsync()'ing in the 
> background writer, the checkpointer and the backends. Basically none of 
> them can mark a block "clean" if he fails to fsync() the relation later! 
> This will be a mess to code.

Not really.  The O_SYNC solution for example would be trivial to code.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Jan WieckDate: 2003-11-16 20:43:27
Subject: Re: [PATCHES] SRA Win32 sync() code
Previous:From: Jan WieckDate: 2003-11-16 20:00:24
Subject: Re: [PATCHES] SRA Win32 sync() code

pgsql-patches by date

Next:From: Jan WieckDate: 2003-11-16 20:43:27
Subject: Re: [PATCHES] SRA Win32 sync() code
Previous:From: Jan WieckDate: 2003-11-16 20:00:24
Subject: Re: [PATCHES] SRA Win32 sync() code

pgsql-hackers-win32 by date

Next:From: Jan WieckDate: 2003-11-16 20:43:27
Subject: Re: [PATCHES] SRA Win32 sync() code
Previous:From: Jan WieckDate: 2003-11-16 20:00:24
Subject: Re: [PATCHES] SRA Win32 sync() code

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group