title: What is tableresource(9) of type (pgsql result)
body: <pre><code>$sql = "insert into my_table ...";
  $rs = pg_query($rs);
  var_dump($rs); // =&gt; tableresource(9) of type (pgsql result)
  </code></pre>
  
  <p>What's this? object? array? How can I use it?</p>
  
  <p>The row is inserted in the table.</p>
  
  <p>The PHP doc page should be improved in this regard. The page <a href="http://www.php.net/manual/en/function.pg-query.php" rel="nofollow noreferrer">http://www.php.net/manual/en/function.pg-query.php</a> says that:</p>
  
  <blockquote>
    <p>Return Values
    A query result resource on success or FALSE on failure.</p>
  </blockquote>
  
  <p>There should be a link <strong><em>result resource</em></strong> explaining what it is ...</p>