Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PGSQL section sync with EN #809

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion reference/pgsql/functions/pg-convert.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: c2eca73ef79ebe78cebb34053e41b565af504c4f Maintainer: yannick Status: ready -->
<!-- EN-Revision: 39bb8a868935a56cfce438b0169e13c02c93211c Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.pg-convert" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -85,6 +85,14 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<para>
Une <classname>ValueError</classname> ou <classname>TypeError</classname> est déclenchée
lorsque la valeur ou le type du champ ne correspond pas correctement à un type PostgreSQL.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -96,6 +104,14 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
Lance désormais une erreur <classname>ValueError</classname> ou <classname>TypeError</classname>
lorsque la valeur ou le type du champ ne correspond pas correctement à un type PostgreSQL ;
précédemment, un <constant>E_WARNING</constant> était émis.
</entry>
</row>
&pgsql.changelog.connection-object;
</tbody>
</tgroup>
Expand Down
18 changes: 17 additions & 1 deletion reference/pgsql/functions/pg-fetch-object.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: c2eca73ef79ebe78cebb34053e41b565af504c4f Maintainer: yannick Status: ready -->
<!-- EN-Revision: 39bb8a868935a56cfce438b0169e13c02c93211c Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.pg-fetch-object" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -90,6 +90,14 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<para>
Une <classname>ValueError</classname> est déclenchée lorsque
l'argument <parameter>constructor_args</parameter> n'est pas vide et que la classe n'a pas de constructeur.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -101,6 +109,14 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
Lance désormais une exception <classname>ValueError</classname> lorsque
l'argument <parameter>constructor_args</parameter> n'est pas vide et que la classe n'a pas de constructeur ;
précédemment, une exception <classname>Exception</classname> était déclenchée.
</entry>
</row>
&pgsql.changelog.result-object;
</tbody>
</tgroup>
Expand Down
11 changes: 9 additions & 2 deletions reference/pgsql/functions/pg-fetch-result.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: c2eca73ef79ebe78cebb34053e41b565af504c4f Maintainer: jsgoupil Status: ready -->
<!-- EN-Revision: 39bb8a868935a56cfce438b0169e13c02c93211c Maintainer: jsgoupil Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.pg-fetch-result" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -12,7 +12,8 @@
<methodsynopsis>
<type class="union"><type>string</type><type>false</type><type>null</type></type><methodname>pg_fetch_result</methodname>
<methodparam><type>PgSql\Result</type><parameter>result</parameter></methodparam>
<methodparam><type>int</type><parameter>row</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>false</type><type>null</type></type><parameter>row</parameter>
</methodparam>
<methodparam><type>mixed</type><parameter>field</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
Expand Down Expand Up @@ -91,6 +92,12 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
<parameter>row</parameter> est désormais nullable.
</entry>
</row>
&pgsql.changelog.result-object;
</tbody>
</tgroup>
Expand Down
11 changes: 9 additions & 2 deletions reference/pgsql/functions/pg-field-is-null.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: c2eca73ef79ebe78cebb34053e41b565af504c4f Maintainer: jsgoupil Status: ready -->
<!-- EN-Revision: 39bb8a868935a56cfce438b0169e13c02c93211c Maintainer: jsgoupil Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.pg-field-is-null" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -14,7 +14,8 @@
<methodsynopsis>
<type>int</type><methodname>pg_field_is_null</methodname>
<methodparam><type>PgSql\Result</type><parameter>result</parameter></methodparam>
<methodparam><type>int</type><parameter>row</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>false</type><type>null</type></type><parameter>row</parameter>
</methodparam>
<methodparam><type>mixed</type><parameter>field</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
Expand Down Expand Up @@ -85,6 +86,12 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
<parameter>row</parameter> est désormais nullable.
</entry>
</row>
&pgsql.changelog.result-object;
</tbody>
</tgroup>
Expand Down
11 changes: 9 additions & 2 deletions reference/pgsql/functions/pg-field-prtlen.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: c2eca73ef79ebe78cebb34053e41b565af504c4f Maintainer: yannick Status: ready -->
<!-- EN-Revision: 39bb8a868935a56cfce438b0169e13c02c93211c Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.pg-field-prtlen" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -14,7 +14,8 @@
<methodsynopsis>
<type>int</type><methodname>pg_field_prtlen</methodname>
<methodparam><type>PgSql\Result</type><parameter>result</parameter></methodparam>
<methodparam><type>int</type><parameter>row_number</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>false</type><type>null</type></type><parameter>row</parameter>
</methodparam>
<methodparam><type>mixed</type><parameter>field_name_or_number</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
Expand Down Expand Up @@ -87,6 +88,12 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
<parameter>row</parameter> est désormais nullable.
</entry>
</row>
&pgsql.changelog.result-object;
</tbody>
</tgroup>
Expand Down
28 changes: 27 additions & 1 deletion reference/pgsql/functions/pg-insert.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: fbd75a1be53b02f0ad6360ba4cbd455d1fd78026 Maintainer: yannick Status: ready -->
<!-- EN-Revision: 39bb8a868935a56cfce438b0169e13c02c93211c Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.pg-insert" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -101,6 +101,17 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<para>
Une <classname>ValueError</classname> est déclenchée lorsque la table spécifiée est invalide.
</para>
<para>
Une <classname>ValueError</classname> ou <classname>TypeError</classname> est déclenchée
lorsque la valeur ou le type du champ ne correspond pas correctement à un type PostgreSQL.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -112,6 +123,21 @@
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
Lance désormais une erreur <classname>ValueError</classname> lorsque la table spécifiée est invalide ;
précédemment, un <constant>E_WARNING</constant> était émis.
</entry>
</row>
<row>
<entry>8.3.0</entry>
<entry>
Lance désormais une erreur <classname>ValueError</classname> ou <classname>TypeError</classname>
lorsque la valeur ou le type du champ ne correspond pas correctement à un type PostgreSQL ;
précédemment, un <constant>E_WARNING</constant> était émis.
</entry>
</row>
&pgsql.changelog.return-result-object;
&pgsql.changelog.connection-object;
</tbody>
Expand Down