Re: [PATCHES] SRA Win32 sync() code
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan Wieck <JanWieck@Yahoo.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, PostgreSQL-patches <pgsql-patches@postgresql.org>, PostgreSQL Win32 port list <pgsql-hackers-win32@postgresql.org>
Date: 2003-11-16T22:46:17Z
Lists: pgsql-hackers
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