<div dir="ltr">Unless I am mistaken, it seems to me that during health checks, if an ErrorResponse is returned by the server, a health check would fail.<div><br></div><div>I&#39;m confused as to why this server behavior constitutes a backend communication error during health checks but not when a client wants to establish a connection to a server.<br class="gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Sun, Nov 13, 2016 at 6:39 PM Tatsuo Ishii &lt;<a href="mailto:ishii@sraoss.co.jp" class="gmail_msg" target="_blank">ishii@sraoss.co.jp</a>&gt; wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; Hi,<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; I have a question regarding the fail_over_on_backend_error option,<br class="gmail_msg">
&gt; specifically what exactly constitutes a backend communication error.<br class="gmail_msg">
&gt; Consider a client connecting to a server through pgpool. If for some reason<br class="gmail_msg">
&gt; a SQL error is returned by the server before a SQL connection is<br class="gmail_msg">
&gt; established (e.g. an ErrorResponse during start-up, see<br class="gmail_msg">
&gt; <a href="https://www.postgresql.org/docs/current/static/protocol-flow.html" rel="noreferrer" class="gmail_msg" target="_blank">https://www.postgresql.org/docs/current/static/protocol-flow.html</a>) would<br class="gmail_msg">
&gt; this constitute a backend communication error and mark the server as down?<br class="gmail_msg">
<br class="gmail_msg">
No.<br class="gmail_msg">
<br class="gmail_msg">
&gt; I assume that this would be the case during normal health check procedures.<br class="gmail_msg">
<br class="gmail_msg">
health check procedures are not affected by fail_over_on_backend_error.<br class="gmail_msg">
What&#39;s your concern with health check procedures?<br class="gmail_msg">
<br class="gmail_msg">
Best regards,<br class="gmail_msg">
--<br class="gmail_msg">
Tatsuo Ishii<br class="gmail_msg">
SRA OSS, Inc. Japan<br class="gmail_msg">
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" class="gmail_msg" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br class="gmail_msg">
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" class="gmail_msg" target="_blank">http://www.sraoss.co.jp</a><br class="gmail_msg">
</blockquote></div></div></div>