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

Re: [pgsql-hackers-win32] win32 performance - fsync question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>,Michael Paesold <mpaesold(at)gmx(dot)at>, pgsql-hackers(at)postgresql(dot)org,pgsql-hackers-win32(at)postgresql(dot)org,Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>
Subject: Re: [pgsql-hackers-win32] win32 performance - fsync question
Date: 2005-03-17 19:02:29
Message-ID: 26335.1111086149@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-patches
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom Lane wrote:
>> we should name the wal_sync_method that invokes it something different
>> than fsync.  "write_through" or some such?  We already have precedent
>> that not all wal_sync_method values are available on all platforms.

> Yes, I am thinking that too.  I hesistated because it adds yet another
> sync method, and we have to document it works only on Win32, but I see
> no better solution.

It occurs to me that it'd probably be a good idea if the error message
for an unsupported wal_sync_method value explicitly listed the allowed
values for the platform.  If there's no objection I'll try to make
that happen.  (I'm not sure if it's trivial or not: I think the GUC
framework is a bit restrictive about custom error messages from GUC
assign hooks...)

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2005-03-17 19:17:35
Subject: Re: PHP stuff
Previous:From: Bruce MomjianDate: 2005-03-17 18:53:11
Subject: Re: [pgsql-hackers-win32] win32 performance - fsync question

pgsql-patches by date

Next:From: Neil ConwayDate: 2005-03-18 00:22:08
Subject: Re: refactor preprocess_targetlist
Previous:From: Bruce MomjianDate: 2005-03-17 18:53:11
Subject: Re: [pgsql-hackers-win32] win32 performance - fsync question

pgsql-hackers-win32 by date

Next:From: Dann CorbitDate: 2005-03-17 19:24:24
Subject: Re: [pgsql-hackers-win32] win32 performance - fsync question
Previous:From: Bruce MomjianDate: 2005-03-17 18:53:11
Subject: Re: [pgsql-hackers-win32] win32 performance - fsync question

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