Fix GH-1572: Not specifying the pgsql connection parameter is deprecated

This commit is contained in:
Christoph M. Becker 2022-05-09 16:12:05 +02:00
parent ad618eea48
commit 85b2c17bff
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6

View file

@ -1787,12 +1787,14 @@ PHP as of PHP '>
<!ENTITY pgsql.parameter.connection-with-unspecified-default '<para xmlns="http://docbook.org/ns/docbook">An <classname>PgSql\Connection</classname> instance.
When <parameter>connection</parameter> is unspecified, the default connection is used.
The default connection is the last connection made by <function>pg_connect</function>
or <function>pg_pconnect</function>.</para>'>
or <function>pg_pconnect</function>.
<warning><simpara>As of PHP 8.1.0, using the default connection is deprecated.</simpara></warning></para>'>
<!ENTITY pgsql.parameter.connection-with-nullable-default '<para xmlns="http://docbook.org/ns/docbook">An <classname>PgSql\Connection</classname> instance.
When <parameter>connection</parameter> is &null;, the default connection is used.
The default connection is the last connection made by <function>pg_connect</function>
or <function>pg_pconnect</function>.</para>'>
or <function>pg_pconnect</function>.
<warning><simpara>As of PHP 8.1.0, using the default connection is deprecated.</simpara></warning></para>'>
<!ENTITY pgsql.parameter.result '<para xmlns="http://docbook.org/ns/docbook">An <classname>PgSql\Result</classname> instance, returned by <function>pg_query</function>,
<function>pg_query_params</function> or <function>pg_execute</function>(among others).</para>'>