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 22:46:17
Message-ID: 15635.1069022777@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
> Well, the bgwriter has basically the same chance the checkpointer has
> ... mdblindwrt() in the end, because he doesn't have the relcache handy.

We could easily get rid of mdblindwrt --- there is no very good reason
that we use the relcache for I/O. There could and should be a
lower-level notion of "open relation" that bgwriter and checkpoint
could use. See recent discussion with Neil, for example. Vadim had
always wanted to do that, IIRC.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2003-11-16 22:55:41 Re: start of transaction (was: Re: [PERFORM] Help with count(*))
Previous Message bpalmer 2003-11-16 22:25:38 Re: We're finally there ...

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2003-11-17 01:58:48 Re: [PATCHES] SRA Win32 sync() code
Previous Message Jan Wieck 2003-11-16 20:43:27 Re: [PATCHES] SRA Win32 sync() code

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-11-17 00:17:49 Re: SIGPIPE handling
Previous Message Rod Taylor 2003-11-16 21:58:43 Alter Table phase 1 -- Please apply to 7.5