<div dir="ltr"><div><div><div><div><div><div><div>Hello Guys:<br></div>I was wondering if anyone here has tried to use pg_basebackup with the -X=stream option over pgpool.<br></div><div>I a<br></div><div><br></div>I am using postgresql 9.5.2 with pgpool 3.5.1  an issue where when i try to do this, pg_basebackup hangs on the following line of the progress report:<br><br>pg_basebackup: waiting for background process to finish streaming ...<br><br></div>and then it just quits with the following errors:<br><br>pg_basebackup: unexpected termination of replication stream: FATAL:  unable to read data from DB node 0<br>DETAIL:  EOF encountered with backend<br>pg_basebackup: child process exited with error 1<br><br><br></div>from the backend point of view, i see the following:<br>< 2016-04-18 14:34:33.376 ADT >LOG:  terminating walsender process due to replication timeout<br>< 2016-04-18 14:34:33.384 ADT >ERROR:  syntax error<br><br></div><div>pg_basebackup works ok with the fetch option (But i would like to avoid using it, as it would require for me to also implement PITR, or to stop transactions to the DB)<br><br></div><div>pg_basebackup works ok if i connect directly to the backend<br><br></div>Any ideas how i could troubleshoot this?<br></div>Thanks.<br></div>Regards<br><div><div><div><div><br><div><div><br></div></div></div></div></div></div></div>