Dang Minh Huong
2013-04-10 04:04:52 UTC
I'm wondering if this is a bug of PostgreSQL.
PostgreSQL's show that replication_timeout parameter can "Terminate replication connections that are inactive longer than the specified number of milliseconds". But in my environment the sender process is hang up (in several tens of minunites) if i turn off (by power off) Standby PC while pg_basebackup is excuting.
Is this correct?
As my debug, sender process is terminated when recieve SIGPIPE process but it come too slow (about 30minutes after standby PC was down).
I'm not certain but It might hang up in send () from /lib64/libc.so.6
I'm using version 9.1.9 of PostgreSQL.