Heikki Linnakangas wrote: > Heikki Linnakangas wrote: >> I'm thinking that walreceiver should be a stand-alone program that the >> startup process launches, similar to how it invokes restore_command in >> PITR recovery. Instead of using system(), though, it would use >> fork+exec, and a pipe to communicate. > > Here's a WIP patch to do that, over your latest posted patch. I've also > pushed this to my git repository at > git://git.postgresql.org/git/users/heikki/postgres.git, "replication" > branch. > > I'll continue reviewing...
BTW, my modified patch doesn't correctly zero-fill new WAL segments. Needs to be fixed... -- 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