Markus Wanner wrote:
> Hi,
>
> Bruce Momjian wrote:
> > Backends would
> > update a shared memory variable specifying how far they want the wal
> > streamer to advance and send a signal to the wal streamer if necessary.
> > Backends would monitor another shared memory variable that specifies how
> > far the wal streamer has advanced.
>
> That sounds like WAL needs to be written to disk, before it can be sent
> to the standby. Except maybe with some sort of mmap'ing the WAL.
Well, WAL is either on disk or in the wal_buffers in shared memory ---
in either case, a WAL streamer can get to it.
-- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB
http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +