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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-hackers-win32 by date

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

Browse pgsql-patches by date

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