Fujii Masao wrote: > On Tue, Apr 6, 2010 at 3:29 AM, Simon Riggs <si...@2ndquadrant.com> wrote: >> I was also surprised to note that the Startup process is not signaled by >> WALReceiver when new WAL is received, so it will continue sleeping even >> though it has work to do. > > I don't think this is so useful in 9.0 since synchronous replication > (i.e., transaction commit wait for WAL to be replayed by the standby) > is not supported.
Well, it would still be useful, as it would shorten the delay. But yeah, there's a delay in asynchronous replication anyway, so we decided to keep it simple and just poll. It's not ideal and definitely needs to be revisited for synchronous mode in the future. Same for walsenders. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers