Skip to content

Commit

Permalink
Merge vers la version 9.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed Sep 18, 2010
1 parent e405a34 commit 6204f1f
Show file tree
Hide file tree
Showing 17 changed files with 308 additions and 187 deletions.
3 changes: 2 additions & 1 deletion postgresql/backup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,8 @@ pg_restore -d <replaceable class="parameter">nom_base</replaceable> <replaceable
<literal>%%</literal> est utilisé pour écrire le
caractère <literal>%</literal> dans la commande. La commande la plus
simple ressemble à&nbsp;:
<programlisting>archive_command = 'cp -i %p /mnt/serveur/repertoire_archive/%f &lt;/dev/null'</programlisting>
<programlisting>archive_command = 'cp -i %p /mnt/serveur/repertoire_archive/%f &lt;/dev/null' # Unix
archive_command = 'copy "%p" "C:\\serveur\\repertoire_archive\\%f"' # Windows</programlisting>
qui copie les segments WAL archivables dans le répertoire
<filename>/mnt/serveur/repertoire_archive</filename>. (Ceci est un exemple, pas
une recommandation, et peut ne pas fonctionner sur toutes les
Expand Down
15 changes: 12 additions & 3 deletions postgresql/catalogs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,13 @@
<row>
<entry><structfield>rolpassword</structfield></entry>
<entry><type>text</type></entry>
<entry>Le mot de passe (éventuellement chiffré)&nbsp;; NULL si aucun</entry>
<entry>Le mot de passe (éventuellement chiffré)&nbsp;; NULL si aucun.
If the password is
encrypted, this column will contain the string md5 followed by a
32-character hexadecimal MD5 hash. The MD5 hash will be of the
user's password concatenated to their username (for example, if
user joe has password xyzzy, <productname>PostgreSQL</productname> will store
the md5 hash of xyzzyjoe).</entry>
</row>

<row>
Expand Down Expand Up @@ -7312,7 +7318,8 @@ lourd ! -->
La vue <structname>pg_shadow</structname> existe pour des raisons de
compatibilité ascendante&nbsp;: elle émule un catalogue qui a existé avant
la version 8.1 de <productname>PostgreSQL</productname>. Elle affiche les
propriétés de tous les rôles marqués <structfield>rolcanlogin</structfield>.
propriétés de tous les rôles marqués <structfield>rolcanlogin</structfield> in
<link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.
</para>

<para>
Expand Down Expand Up @@ -7384,7 +7391,9 @@ lourd ! -->
<entry><structfield>passwd</structfield></entry>
<entry><type>text</type></entry>
<entry></entry>
<entry>Mot de passe (éventuellement chiffré)</entry>
<entry>Mot de passe (éventuellement chiffré); null if none. See
<link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>
for details of how encrypted passwords are stored.</entry>
</row>

<row>
Expand Down
2 changes: 1 addition & 1 deletion postgresql/datatype.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3486,7 +3486,7 @@ SELECT personne.nom, vacances.nombre_de_semaines FROM personne, vacances
<row>
<entry>Saisie <type>cidr</type></entry>
<entry>Affichage <type>cidr</type></entry>
<entry><literal><function>abbrev</function>(<type>cidr</type>)</literal></entry>
<entry><literal><function>abbrev(<type>cidr</type>)</function></literal></entry>
</row>
</thead>
<tbody>
Expand Down
4 changes: 2 additions & 2 deletions postgresql/ecpg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ free(out);
une variable de ce type doit pouvoir étendre et diminuer sa taille dynamiquement.
C'est pourquoi il est obligatoire d'utiliser les fonctions
<function>PGTYPESnumeric_new</function> et
<function>PGTYPESnumeric_free</function> pour créer de telles variables,
<function>PGTYPESnumeric_free</function> pour créer des variables numériques,
et uniquement en mémoire <foreignphrase>heap</foreignphrase>.
Le type decimal, similaire mais limité en précision, peut être créé sur la
pile comme sur le <quote>heap</quote>.
Expand Down Expand Up @@ -4014,7 +4014,7 @@ dtcvfmtasc(char *inbuf, char *fmtstr, timestamp *dtvalue)
La fonction reçoit la chaîne à analyser (<literal>inbuf</literal>),
le masque de formatage à utiliser (<literal>fmtstr</literal>) et un
pointeur vers une variable de type timestamp pour stocker
le résultat de l'opération (<literal>ts</literal>).
le résultat de l'opération (<literal>dtvalue</literal>).
</para>
<para>
Cette fonction utilise la fonction <xref
Expand Down
3 changes: 2 additions & 1 deletion postgresql/func.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10136,7 +10136,8 @@ END</synopsis>
<entry>
tableau du type de l'argument
</entry>
<entry>les valeurs entrées concaténées dans un tableau</entry>
<entry>les valeurs en entrée, pouvant inclure des valeurs NULL,
concaténées dans un tableau</entry>
</row>

<row>
Expand Down
14 changes: 10 additions & 4 deletions postgresql/installation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ su - postgres
<para>
<application>tar</application> est requis pour déballer la distribution
des sources, associé à <application>gzip</application> ou
<application>bzip2</application>. De plus, <application>gzip</application>
est nécessaire pour installer la documentation.
<application>bzip2</application>.
</para>
</listitem>

Expand Down Expand Up @@ -265,7 +264,7 @@ su - postgres

<listitem>
<para>
<application>Kerberos</application>, <productname>OpenSSL</productname>,
Vous avez besoin de <application>Kerberos</application>, <productname>OpenSSL</productname>,
<productname>OpenLDAP</productname> ou <application>PAM</application>
pour bénéficier de l'authentification ou du chiffrement en utilisant ces services.
</para>
Expand Down Expand Up @@ -1526,7 +1525,14 @@ su - postgres
<listitem>
<para>
chemin complet vers l'interpréteur Python. Il sera utilisé pour déterminer
les dépendances pour la construction de PL/Python.
les dépendances pour la construction de PL/Python. Also,
whether Python 2 or 3 is specified here (or otherwise
implicitly chosen) determines which variant of the PL/Python
language becomes available. See
<phrase>the <application>PL/Python</application>
documentation</phrase><phrase><xref
linkend="plpython-python23"/></phrase>
for more information.
</para>
</listitem>
</varlistentry>
Expand Down
4 changes: 1 addition & 3 deletions postgresql/libpq.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1800,9 +1800,7 @@ erreur de correspondance de type pour vous.
</variablelist>

Les instructions préparées avec <function>PQexecPrepared</function> peuvent aussi être
créées en exécutant les instructions SQL <xref linkend="sql-prepare"/> (mais
<function>PQprepare</function> est plus flexible
car il ne requiert pas de spécification des types de paramètres). De plus,
créées en exécutant les instructions SQL <xref linkend="sql-prepare"/>. De plus,
bien qu'il n'y ait aucune fonction <application>libpq</application> pour supprimer une
instruction préparée, l'instruction SQL <xref linkend="sql-deallocate"/> peut
être utilisée dans ce but.
Expand Down
22 changes: 11 additions & 11 deletions postgresql/monitoring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ postgres 1016 0.1 2.4 6532 3080 pts/1 SN 13:19 0:00 postgres: tgl reg

<row>
<!-- See also the entry for this in func.sgml -->
<entry><literal><function>pg_backend_pid</function>()</literal></entry>
<entry><literal><function>pg_backend_pid()</function></literal></entry>
<entry><type>integer</type></entry>
<entry>
ID du processus pour le processus serveur attaché à la session en cours
Expand Down Expand Up @@ -788,7 +788,7 @@ postgres 1016 0.1 2.4 6532 3080 pts/1 SN 13:19 0:00 postgres: tgl reg
</row>

<row>
<entry><literal><function>pg_stat_get_backend_idset</function>()</literal></entry>
<entry><literal><function>pg_stat_get_backend_idset()</function></literal></entry>
<entry><type>setof integer</type></entry>
<entry>
PID des processus serveurs actifs à ce moment (de 1 au nombre de processus
Expand Down Expand Up @@ -895,7 +895,7 @@ postgres 1016 0.1 2.4 6532 3080 pts/1 SN 13:19 0:00 postgres: tgl reg
</row>

<row>
<entry><literal><function>pg_stat_get_bgwriter_timed_checkpoints</function>()</literal></entry>
<entry><literal><function>pg_stat_get_bgwriter_timed_checkpoints()</function></literal></entry>
<entry><type>bigint</type></entry>
<entry>
Le nombre de fois où le processus d'écriture en tâche de fond a lancé des points de vérification
Expand All @@ -905,7 +905,7 @@ postgres 1016 0.1 2.4 6532 3080 pts/1 SN 13:19 0:00 postgres: tgl reg
</row>

<row>
<entry><literal><function>pg_stat_get_bgwriter_requested_checkpoints</function>()</literal></entry>
<entry><literal><function>pg_stat_get_bgwriter_requested_checkpoints()</function></literal></entry>
<entry><type>bigint</type></entry>
<entry>
Nombre de fois où le processus d'écriture en tâche de fond a lancé des points de vérification en se
Expand All @@ -916,15 +916,15 @@ postgres 1016 0.1 2.4 6532 3080 pts/1 SN 13:19 0:00 postgres: tgl reg
</row>

<row>
<entry><literal><function>pg_stat_get_bgwriter_buf_written_checkpoints</function>()</literal></entry>
<entry><literal><function>pg_stat_get_bgwriter_buf_written_checkpoints()</function></literal></entry>
<entry><type>bigint</type></entry>
<entry>
Nombre de tampons écrits par le processus d'écriture en tâche de fond lors de points de vérification
</entry>
</row>

<row>
<entry><literal><function>pg_stat_get_bgwriter_buf_written_clean</function>()</literal></entry>
<entry><literal><function>pg_stat_get_bgwriter_buf_written_clean()</function></literal></entry>
<entry><type>bigint</type></entry>
<entry>
Nombre de tampons écrits par le processus d'écriture en tâche de fond pour le nettoyage de routine
Expand All @@ -933,7 +933,7 @@ postgres 1016 0.1 2.4 6532 3080 pts/1 SN 13:19 0:00 postgres: tgl reg
</row>

<row>
<entry><literal><function>pg_stat_get_bgwriter_maxwritten_clean</function>()</literal></entry>
<entry><literal><function>pg_stat_get_bgwriter_maxwritten_clean()</function></literal></entry>
<entry><type>bigint</type></entry>
<entry>
Nombre de fois où le processus d'écriture en tâche de fond est arrêté son parcours de nettoyage parce
Expand All @@ -943,7 +943,7 @@ postgres 1016 0.1 2.4 6532 3080 pts/1 SN 13:19 0:00 postgres: tgl reg
</row>

<row>
<entry><literal><function>pg_stat_get_buf_written_backend</function>()</literal></entry>
<entry><literal><function>pg_stat_get_buf_written_backend()</function></literal></entry>
<entry><type>bigint</type></entry>
<entry>
Nombre de tampons écrits par les processus serveur parce qu'ils ont
Expand All @@ -952,23 +952,23 @@ postgres 1016 0.1 2.4 6532 3080 pts/1 SN 13:19 0:00 postgres: tgl reg
</row>

<row>
<entry><literal><function>pg_stat_get_buf_alloc</function>()</literal></entry>
<entry><literal><function>pg_stat_get_buf_alloc()</function></literal></entry>
<entry><type>bigint</type></entry>
<entry>
Le nombre total d'allocations de tampons
</entry>
</row>

<row>
<entry><literal><function>pg_stat_clear_snapshot</function>()</literal></entry>
<entry><literal><function>pg_stat_clear_snapshot()</function></literal></entry>
<entry><type>void</type></entry>
<entry>
Annule l'image statistique actuelle
</entry>
</row>

<row>
<entry><literal><function>pg_stat_reset</function>()</literal></entry>
<entry><literal><function>pg_stat_reset()</function></literal></entry>
<entry><type>void</type></entry>
<entry>
Réinitialise à zéro tous les compteurs statistiques pour la base de
Expand Down
36 changes: 18 additions & 18 deletions postgresql/plperl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,9 @@ SELECT * FROM test_munge();
</varlistentry>

<varlistentry>
<term><literal><function>spi_query</function>(<replaceable>command</replaceable>)</literal></term>
<term><literal><function>spi_fetchrow</function>(<replaceable>cursor</replaceable>)</literal></term>
<term><literal><function>spi_cursor_close</function>(<replaceable>cursor</replaceable>)</literal></term>
<term><literal><function>spi_query(<replaceable>command</replaceable>)</function></literal></term>
<term><literal><function>spi_fetchrow(<replaceable>cursor</replaceable>)</function></literal></term>
<term><literal><function>spi_cursor_close(<replaceable>cursor</replaceable>)</function></literal></term>

<listitem>
<para>
Expand Down Expand Up @@ -488,10 +488,10 @@ SELECT * from lotsa_md5(500);
</varlistentry>

<varlistentry>
<term><literal><function>spi_prepare</function>(<replaceable>command</replaceable>, <replaceable>argument types</replaceable>)</literal></term>
<term><literal><function>spi_query_prepared</function>(<replaceable>plan</replaceable>, <replaceable>arguments</replaceable>)</literal></term>
<term><literal><function>spi_exec_prepared</function>(<replaceable>plan</replaceable> [, <replaceable>attributes</replaceable>], <replaceable>arguments</replaceable>)</literal></term>
<term><literal><function>spi_freeplan</function>(<replaceable>plan</replaceable>)</literal></term>
<term><literal><function>spi_prepare(<replaceable>command</replaceable>, <replaceable>argument types</replaceable>)</function></literal></term>
<term><literal><function>spi_query_prepared(<replaceable>plan</replaceable>, <replaceable>arguments</replaceable>)</function></literal></term>
<term><literal><function>spi_exec_prepared(<replaceable>plan</replaceable> [, <replaceable>attributes</replaceable>], <replaceable>arguments</replaceable>)</function></literal></term>
<term><literal><function>spi_freeplan(<replaceable>plan</replaceable>)</function></literal></term>

<listitem>
<para>
Expand Down Expand Up @@ -605,8 +605,8 @@ SELECT release_hosts_query();

<variablelist>
<varlistentry>
<term><literal><function>elog</function>(<replaceable>level</replaceable>,
<replaceable>msg</replaceable>)</literal></term>
<term><literal><function>elog(<replaceable>level</replaceable>,
<replaceable>msg</replaceable>)</function></literal></term>
<listitem>
<indexterm>
<primary>elog</primary>
Expand Down Expand Up @@ -639,7 +639,7 @@ SELECT release_hosts_query();
<secondary>en PL/Perl</secondary>
</indexterm>

<term><literal><function>quote_literal</function>(<replaceable>string</replaceable>)</literal></term>
<term><literal><function>quote_literal(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Retourne la chaîne donnée convenablement placé entre simple guillemets pour être utilisée comme une chaîne littérale au sein
Expand All @@ -656,7 +656,7 @@ SELECT release_hosts_query();
<secondary>en PL/Perl</secondary>
</indexterm>

<term><literal><function>quote_nullable</function>(<replaceable>string</replaceable>)</literal></term>
<term><literal><function>quote_nullable(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Retourne la chaîne donnée convenablement placé entre simple guillemets pour être utilisée comme une chaîne littérale au sein
Expand All @@ -672,7 +672,7 @@ SELECT release_hosts_query();
<secondary>en PL/Perl</secondary>
</indexterm>

<term><literal><function>quote_ident</function>(<replaceable>string</replaceable>)</literal></term>
<term><literal><function>quote_ident(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Retourne la chaîne donnée convenablement placé entre guillemets pour être utilisée
Expand All @@ -690,7 +690,7 @@ SELECT release_hosts_query();
<secondary>en PL/Perl</secondary>
</indexterm>

<term><literal><function>decode_bytea</function>(<replaceable>string</replaceable>)</literal></term>
<term><literal><function>decode_bytea(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Retourne les données binaires non échappé représentées par le contenu de
Expand All @@ -705,7 +705,7 @@ SELECT release_hosts_query();
<secondary>en PL/Perl</secondary>
</indexterm>

<term><literal><function>encode_bytea</function>(<replaceable>string</replaceable>)</literal></term>
<term><literal><function>encode_bytea(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Retourne sous la forme d'un <type>bytea</type> le contenu binaire dans la chaîne passé en argument.
Expand All @@ -719,8 +719,8 @@ SELECT release_hosts_query();
<secondary>en PL/Perl</secondary>
</indexterm>

<term><literal><function>encode_array_literal</function>(<replaceable>array</replaceable>)</literal></term>
<term><literal><function>encode_array_literal</function>(<replaceable>array</replaceable>, <replaceable>delimiter</replaceable>)</literal></term>
<term><literal><function>encode_array_literal(<replaceable>array</replaceable>)</function></literal></term>
<term><literal><function>encode_array_literal(<replaceable>array</replaceable>, <replaceable>delimiter</replaceable>)</function></literal></term>
<listitem>
<para>
Retourne le contenu de tableau passé par référence sous forme d'une chaîne littérale.
Expand All @@ -738,7 +738,7 @@ SELECT release_hosts_query();
<secondary>en PL/Perl</secondary>
</indexterm>

<term><literal><function>encode_array_constructor</function>(<replaceable>array</replaceable>)</literal></term>
<term><literal><function>encode_array_constructor(<replaceable>array</replaceable>)</function></literal></term>
<listitem>
<para>
Retourne le contenu de tableau passé par référence sous forme d'une chaîne
Expand All @@ -757,7 +757,7 @@ SELECT release_hosts_query();
<secondary>en PL/Perl</secondary>
</indexterm>

<term><literal><function>looks_like_number</function>(<replaceable>string</replaceable>)</literal></term>
<term><literal><function>looks_like_number(<replaceable>string</replaceable>)</function></literal></term>
<listitem>
<para>
Retourne une valeur vraie si le contenu de la chaîne passée ressemble à
Expand Down
13 changes: 12 additions & 1 deletion postgresql/plpython.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@
disponibles.
</para>

<tip>
<para>
The built variant depends on which Python version was found during
the installation or which version was explicitly set using
the <envar>PYTHON</envar> environment variable;
see <xref linkend="install-procedure"/>. To make both variants of
PL/Python available in one installation, the source tree has to be
configured and built twice.
</para>
</tip>

<para>
Ceci a pour résultat la stratégie suivante d'utilisation et de
migration&nbsp;:
Expand Down Expand Up @@ -154,7 +165,7 @@

<para>
Voir aussi le document <ulink
url="http://docs.python.org/dev/3.0/whatsnew/3.0.html">What's New In Python
url="http://docs.python.org/py3k/whatsnew/3.0.html">What's New In Python
3.0</ulink> pour plus d'informations sur le portage vers Python 3.
</para>

Expand Down
4 changes: 2 additions & 2 deletions postgresql/ref/alter_table.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ ALTER TABLE <replaceable class="parameter">nom</replaceable>
<term><literal>RESET ( <replaceable class="PARAMETER">attribute_option</replaceable> [, ... ] )</literal></term>
<listitem>
<para>
Cette syntaxe permet de configurer ou de réinitialiser des options de
niveau attribut. Actuellement, les seules options de ce niveau sont
Cette syntaxe permet de configurer ou de réinitialiser des propriétés.
Actuellement, les seules propriétés acceptées sont
<literal>n_distinct</literal> et <literal>n_distinct_inherited</literal>,
qui surchargent l'estimation du nombre de valeurs distinctes calculée par
<xref linkend="sql-analyze"/>
Expand Down
2 changes: 1 addition & 1 deletion postgresql/ref/create_aggregate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
[ , SORTOP = <replaceable class="parameter">operateur_tri</replaceable> ]
)

ou l'ancienne syntaxe
<phrase>ou l'ancienne syntaxe</phrase>

CREATE AGGREGATE <replaceable class="parameter">nom</replaceable> (
BASETYPE = <replaceable class="parameter">type_base</replaceable>,
Expand Down

0 comments on commit 6204f1f

Please sign in to comment.