Re: Streaming replication and non-blocking I/O

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2009-12-17T13:25:02Z
Lists: pgsql-hackers
Fujii Masao wrote:
> I'm thinking of making the standby send the "walsender-switch-code" the same way
> as application_name; walreceiver always specifies the option like
> "replication=on"
> in conninfo string and calls PQconnectdb(), which sends the code as a part of
> startup packet. And, the environment variable for that should not be defined to
> avoid user's mis-configuration, I think.

Sounds good.

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