Fixed Bug #61266pg_affected_rows inconsistent behavior (depends on PostgreSQL server version)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332751 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Yasuo Ohgaki 2014-01-29 05:59:27 +00:00
parent cab5459256
commit 2a97d230f2

View file

@ -19,6 +19,10 @@
<literal>UPDATE</literal>, and <literal>DELETE</literal>
queries.
</para>
<para>
Since PostgreSQL 9.0 and above, the server returns the number of
SELECTed rows. Older PostgreSQL return 0 for SELECT.
</para>
<note>
<para>
This function used to be called <function>pg_cmdtuples</function>.