title: pg_send_query(): Cannot set connection to blocking mode?
body: <p>I have a long-running script that seems to occasionally report the following NOTICE-level error:
      pg_send_query(): Cannot set connection to blocking mode</p>
  
  <p>It seems to continue to send queries afterward, but it's unclear if it successfully sends the query that generates the error.</p>
  
  <p>What is this a symptom of?</p>
  
  <p><strong>Edit:</strong> There are no entries in the postgres log at the time the error occurred, suggesting this is solely a connection error, not something going wrong on postgres' side (e.g. probably not the result of postgres crashing and restarting or something)</p>
  
  <p><strong>Edit:</strong> As far as I can tell, my INSERT statements are succeeding, one way or another, when this error is triggered.</p>
  
  <p><strong>Edit:</strong> Looks like this may have been fixed in June 2013: <a href="https://bugs.php.net/bug.php?id=65015" rel="noreferrer">https://bugs.php.net/bug.php?id=65015</a></p>