Skip to content

Commit

Permalink
Mise à jour en version 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed Sep 13, 2023
1 parent 27d7690 commit 83b48fd
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 23 deletions.
12 changes: 6 additions & 6 deletions postgresql/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12079,10 +12079,10 @@ LOG: CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1)
</listitem>
</varlistentry>

<varlistentry id="guc-logical-replication-mode" xreflabel="logical_replication_mode">
<term><varname>logical_replication_mode</varname> (<type>enum</type>)
<varlistentry id="guc-debug-logical-replication-streaming" xreflabel="debug_logical_replication_streaming">
<term><varname>debug_logical_replication_streaming</varname> (<type>enum</type>)
<indexterm>
<primary><varname>logical_replication_mode</varname> configuration parameter</primary>
<primary><varname>debug_logical_replication_streaming</varname> configuration parameter</primary>
</indexterm>
</term>
<listitem>
Expand All @@ -12091,12 +12091,12 @@ LOG: CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1)
<literal>immediate</literal>. The default is <literal>buffered</literal>.
This parameter is intended to be used to test logical decoding and
replication of large transactions. The effect of
<varname>logical_replication_mode</varname> is different for the
<varname>debug_logical_replication_streaming</varname> is different for the
publisher and subscriber:
</para>

<para>
On the publisher side, <varname>logical_replication_mode</varname>
On the publisher side, <varname>debug_logical_replication_streaming</varname>
allows streaming or serializing changes immediately in logical decoding.
When set to <literal>immediate</literal>, stream each change if the
<link linkend="sql-createsubscription-with-streaming"><literal>streaming</literal></link>
Expand All @@ -12109,7 +12109,7 @@ LOG: CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1)

<para>
On the subscriber side, if the <literal>streaming</literal> option is set to
<literal>parallel</literal>, <varname>logical_replication_mode</varname>
<literal>parallel</literal>, <varname>debug_logical_replication_streaming</varname>
can be used to direct the leader apply worker to send changes to the
shared memory queue or to serialize all changes to the file. When set to
<literal>buffered</literal>, the leader sends changes to parallel apply
Expand Down
8 changes: 8 additions & 0 deletions postgresql/func.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8643,6 +8643,14 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
</para>
</listitem>

<listitem>
<para>
Si le format fournit moins de chiffres décimaux que le nombre en cours
de formatage, <function>to_char()</function> arrondira le nombre du nombre
indiqué de chiffres décimaux.
</para>
</listitem>

<listitem>
<para>
Les caractères de modèle <literal>S</literal>, <literal>L</literal>,
Expand Down
10 changes: 6 additions & 4 deletions postgresql/regress.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ make check-world -j8 >/dev/null
</listitem>
<listitem>
<para>
Les tests de régression pour l'interface ECPG, situés dans
Les tests de régression pour les bibliothèques d'interface,
situés dans <filename>src/interfaces/libpq/test</filename> et
<filename>src/interfaces/ecpg/test</filename>.
</para>
</listitem>
Expand Down Expand Up @@ -243,7 +244,7 @@ make check-world -j8 >/dev/null
</para>

<para>
Certains des suites de tests supplémentaires utilisent l'infrastructure TAP
Certaines des suites de tests supplémentaires utilisent l'infrastructure TAP
expliquée dans <xref linkend="regress-tap"/>.
Les tests TAP sont seulement exécutés si PostgreSQL a été configuré
avec l'option <option>--enable-tap-tests</option>. Cela est recommandé
Expand All @@ -253,8 +254,9 @@ make check-world -j8 >/dev/null

<para>
Certains tests ne sont pas exécutés par défaut, soit parce qu'ils ne sont
pas sécurisés pour fonctionner sur un système multi-utilisateurs, soit
parce qu'ils nécessitent un logiciel spécifique. Vous pouvez décider quels
pas sécurisés pour fonctionner sur un système multi-utilisateurs
parce qu'ils nécessitent un logiciel spécifique, soit parce qu'elles
consomment beaucoup de ressources. Vous pouvez décider quels
seront les suites de test à exécuter lors de l'execution de
<command>make</command> par son paramètrage ou par l'affectation d'une
configuration à la variable d'environnement <varname>PG_TEST_EXTRA</varname>
Expand Down
22 changes: 12 additions & 10 deletions postgresql/release-16.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<formalpara>
<title>Release date:</title>
<para>AS OF 2023-08-14, 2023-??-??</para>
<para>2023-09-14</para>
</formalpara>

<sect2 id="release-16-highlights">
Expand Down Expand Up @@ -949,14 +949,15 @@ Author: Jeff Davis <jdavis@postgresql.org>
</para>

<para>
Previously the ability to perform <command>LOCK
TABLE</command> at various lock levels was bound to
specific query-type permissions. For example, <link
Previously a user's ability to perform <command>LOCK
TABLE</command> at various lock levels was limited to the
lock levels required by the commands they had permission
to execute on the table. For example, someone with <link
linkend="sql-update"><command>UPDATE</command></link>
could perform all lock levels except
<literal>ACCESS SHARE</literal>, which required <link
linkend="sql-select"><command>SELECT</command></link> permissions.
Now <command>UPDATE</command> can issue all lock levels. MORE?
permission could perform all lock levels except <literal>ACCESS
SHARE</literal>, even though it was a lesser lock level. Now users
can issue lesser lock levels if they already have permission for
greater lock levels.
</para>
</listitem>

Expand Down Expand Up @@ -1710,7 +1711,7 @@ Author: Amit Kapila <akapila@postgresql.org>

<para>
The variable is <link
linkend="guc-logical-replication-mode"><varname>logical_replication_mode</varname></link>.
linkend="guc-debug-logical-replication-streaming"><varname>debug_logical_replication_streaming</varname></link>.
</para>
</listitem>

Expand Down Expand Up @@ -1818,7 +1819,7 @@ Author: Robert Haas <rhaas@postgresql.org>
This improves security and now requires subscription
owners to be either superusers or to have <link
linkend="sql-set-role"><command>SET ROLE</command></link>
permissions on all tables in the replication set.
permission on all roles owning tables in the replication set.
The previous behavior of performing all operations as the
subscription owner can be enabled with the subscription <link
linkend="sql-createsubscription"><option>run_as_owner</option></link>
Expand Down Expand Up @@ -3994,6 +3995,7 @@ Author: Andres Freund <andres@anarazel.de>
<member>Isaac Morland</member>
<member>Israel Barth Rubio</member>
<member>Jacob Champion</member>
<member>Jacob Speidel</member>
<member>Jaime Casanova</member>
<member>Jakub Wartak</member>
<member>James Coleman</member>
Expand Down
4 changes: 2 additions & 2 deletions postgresql/syntax.xml
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,8 @@ U&amp;'d!0061t!+000061' UESCAPE '!'
<para>
Alors que la syntaxe standard pour la spécification des constantes de
chaînes est généralement agréable, elle peut être difficile à comprendre
quand la chaîne désirée contient un grand nombre de guillemets ou
d'antislashs, car chacun d'entre eux doit être doublé. Pour permettre la
quand la chaîne désirée contient un grand nombre de guillemets simples
car chacun d'entre eux doit être doublé. Pour permettre la
saisie de requêtes plus lisibles dans de telles situations,
<productname>PostgreSQL</productname> fournit une autre façon, appelée
<quote>guillemet dollar</quote>, pour écrire des constantes de chaînes.
Expand Down
2 changes: 1 addition & 1 deletion postgresql/version.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!ENTITY version "16 RC1">
<!ENTITY version "16.0">
<!ENTITY majorversion "16">

0 comments on commit 83b48fd

Please sign in to comment.