title: PDO postgres return nothing for all queries
body: <p>Cannot understand what's wrong.<br>
  I use: <code>vagrant 1.8.5</code>; <code>postgresql 9.3.14</code>; <code>PHP 5.5.9</code> (but also trying 7.0)<br>
  Vagrant machine: <code>ubuntu/trusty64</code>, php and utils from here: <code>ppa:ondrej/php</code></p>
  
  <p>All seems OK but query results.<br>
  Test code:</p>
  
  <pre><code>$connect = new PDO('pgsql:dbname=template1;host=localhost', 'postgres', 'postgres');
  
  $st = $connect-&gt;prepare("SELECT 1")-&gt;fetchAll();
  var_dump($st);
  var_dump( $connect-&gt;getAttribute(PDO::ATTR_CONNECTION_STATUS) );
  exit();
  </code></pre>
  
  <p>result:</p>
  
  <pre><code>array(0) { } string(31) "Connection OK; waiting to send."
  </code></pre>