Re: SRA Win32 sync() code - Mailing list pgsql-patches

From Tom Lane
Subject Re: SRA Win32 sync() code
Date
Msg-id 15635.1069022777@sss.pgh.pa.us
Whole thread Raw
In response to Re: SRA Win32 sync() code  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-patches
Jan Wieck <JanWieck@Yahoo.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

pgsql-patches by date:

Previous
From: Rod Taylor
Date:
Subject: Alter Table phase 1 -- Please apply to 7.5
Next
From: Bruce Momjian
Date:
Subject: Re: SIGPIPE handling