diff --git a/functions/pgsql.xml b/functions/pgsql.xml index 1238de89c4..09616c008f 100644 --- a/functions/pgsql.xml +++ b/functions/pgsql.xml @@ -1,5 +1,5 @@ - + PostgreSQL functions PostgreSQL @@ -415,19 +415,27 @@ $dbconn4 = pg_connect ($conn_string); pg_fetch_array. - PHP/FI returned 1 if the query was not expected to return data - (inserts or updates, for example) and greater than 1 even on - selects that did not return anything. No such assumption can be - made in PHP. + connection is a optional parameter for + pg_exec. If + connection is not used, default + connection is used. Default connection is the last connection + made by pg_connect or + pg_pconnect. + + + Although connection can be omitted, it + is not recommended, since it could be a cause of hard to find + bug in script. - See also pg_fetch_array, + See also pg_connect, + pg_pconnect, + pg_fetch_array, pg_fetch_object, - pg_result, pg_numrows, - pg_cmdtuples and - pg_numfields. + pg_numrows, + and pg_cmdtuples.