Re: Streaming replication and non-blocking I/O

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Magnus Hagander <magnus@hagander.net>, Andrew Dunstan <andrew@dunslane.net>, Fujii Masao <masao.fujii@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-01-16T07:54:28Z
Lists: pgsql-hackers
Heikki Linnakangas wrote:
> I've pushed that 'replication-dynmodule' branch in my git repo. The diff
> is hard to read, because it mostly just moves code around, but I've
> attached libpqwalreceiver.c here, which is the dynamic module part. You
> can also browse the tree via the web interface
> (http://git.postgresql.org/gitweb?p=users/heikki/postgres.git;a=tree;h=refs/heads/replication-dynmodule;hb=replication-dynmodule)

I just noticed that the comment at the top of libpqwalreceiver.c is a
leftover, not much relevant to the contents of the file anymore, all the
signal handling and interaction with startup process is in
src/backend/replication/walreceiver.c now. That obviously needs to be
fixed before committing..

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com