Skip to content

Commit

Permalink
Traduction d'un ensemble de fichiers
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed May 21, 2013
1 parent 8c481b7 commit 2c80b50
Show file tree
Hide file tree
Showing 41 changed files with 204 additions and 185 deletions.
14 changes: 7 additions & 7 deletions postgresql/array.xml
Original file line number Diff line number Diff line change
Expand Up @@ -542,17 +542,17 @@ SELECT * FROM
</para>

<para>
You can also search an array using the <literal>&amp;&amp;</literal> operator,
which checks whether the left operand overlaps with the right operand.
For instance:
Vous pouvez aussi chercher dans un tableau en utilisant l'opérateur
<literal>&amp;&amp;</literal>, qui vérifie si l'opérande gauche a des éléments
communs avec l'opérande droit. Par exemple&nbsp;:

<programlisting>
SELECT * FROM sal_emp WHERE pay_by_quarter &amp;&amp; ARRAY[10000];
SELECT * FROM sal_emp WHERE paye_par_semaine &amp;&amp; ARRAY[10000];
</programlisting>

This and other array operators are further described in
<xref linkend="functions-array"/>. It can be accelerated by an appropriate
index, as described in <xref linkend="indexes-types"/>.
Les opérateurs sur les tableaux sont décrits plus en profondeur dans
<xref linkend="functions-array"/>. Leur performances peuvent profiter d'un
index approprié, comme décrit dans <xref linkend="indexes-types"/>.
</para>

<tip>
Expand Down
22 changes: 12 additions & 10 deletions postgresql/backup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -319,21 +319,23 @@ pg_restore -d <replaceable class="parameter">nom_base</replaceable> <replaceable
</para>

<formalpara>
<title>Use <application>pg_dump</application>'s parallel dump feature.</title>
<title>Utiliser la fonctionnalité de sauvegarde en parallèle de
<application>pg_dump</application>.</title>
<para>
To speed up the dump of a large database, you can use
<application>pg_dump</application>'s parallel mode. This will dump
multiple tables at the same time. You can control the degree of
parallelism with the <command>-j</command> parameter. Parallel dumps
are only supported for the "directory" archive format.
Pour accélérer la sauvegarde d'une grosse base de données, vous pouvez
utiliser le mode parallélisé de <application>pg_dump</application>. Cela
sauvegardera plusieurs tables à la fois. Vous pouvez contrôler le degré de
parallélisme avec le paramètre <command>-j</command>. Les sauvegardes en
parallèle n'acceptent que le format répertoire.

<programlisting>
pg_dump -j <replaceable class="parameter">num</replaceable> -F d -f <replaceable class="parameter">out.dir</replaceable> <replaceable class="parameter">dbname</replaceable>
pg_dump -j <replaceable class="parameter">num</replaceable> -F d -f <replaceable class="parameter">sortie.dir</replaceable> <replaceable class="parameter">nom_base</replaceable>
</programlisting>

You can use <command>pg_restore -j</command> to restore a dump in parallel.
This will work for any archive of either the "custom" or the "directory"
archive mode, whether or not it has been created with <command>pg_dump -j</command>.
Vous pouvez utiliser <command>pg_restore -j</command> pour restaurer une
sauvegarde en parallèle. Ceci fonctionnera pour n'importe quel archive,
qu'elle soit dans le mode personnalisé ou répertoire. Elle n'a pas besoin
d'avoir été créée avec le mode parallélisé de <command>pg_dump</command>.
</para>
</formalpara>
</sect2>
Expand Down
14 changes: 7 additions & 7 deletions postgresql/dblink.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
</para>

<para>
See also <xref linkend="postgres-fdw"/>, which provides roughly the same
functionality using a more modern and standards-compliant infrastructure.
Voir aussi <xref linkend="postgres-fdw"/>, qui fournit à peu près les mêmes
fonctionnalités en utilisant une infrastructure plus moderne et respectant
les standards.
</para>

<refentry id="contrib-dblink-connect">
Expand Down Expand Up @@ -53,10 +54,9 @@

<para>
La chaîne de connexion peut aussi être le nom d'un serveur distant existant.
Il est recommandé d'utiliser foreign-data wrapper
<literal>dblink_fdw</literal> when defining the foreign
server. See the example below, as well as
<xref linkend="sql-createserver"/> and
Il est recommandé d'utiliser le foreign-data wrapper
<literal>dblink_fdw</literal> lors de la défintion du serveur distant.
Voir l'exemple ci-dessous ainsi que <xref linkend="sql-createserver"/> et
<xref linkend="sql-createusermapping"/>.
</para>
</refsect1>
Expand Down Expand Up @@ -85,7 +85,7 @@
<literal>hostaddr=127.0.0.1 port=5432 dbname=mabase user=postgres
password=monmotdepasse</literal>.
Pour les détails, voir <xref linkend="libpq-connstring"/>.
Alternatively, the name of a foreign server.
Sinon, il est possible de donner le nom d'un serveur distant.
</para>
</listitem>
</varlistentry>
Expand Down
7 changes: 4 additions & 3 deletions postgresql/docguide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@
<quote>SGML</quote> ou les paquetages suivants&nbsp;:
<filename>sgml-common</filename>, <filename>docbook</filename>,
<filename>stylesheets</filename>, <filename>openjade</filename>.
You may also need <filename>sgml-tools</filename>
and either <filename>xsltproc</filename> or <filename>libxslt</filename>.
Vous pouvez aussi avoir besoin de <filename>sgml-tools</filename> et
de soit <filename>xsltproc</filename> soit <filename>libxslt</filename>.
Si le fournisseur de la
distribution ne les fournit pas, il doit être possible
d'utiliser des paquetages issus d'une distribution compatible.
Expand Down Expand Up @@ -301,7 +301,8 @@ CATALOG "docbook/4.2/catalog"</programlisting>
<title>Mac OS X</title>

<para>
If you use MacPorts, the following will get you set up:
Si vous utilisez MacPorts, utilisez la commande suivante pour faire votre
configuration&nbsp;:
<programlisting>
sudo port install docbook-dsssl docbook-sgml-4.2 docbook-xml-4.2 docbook-xsl libxslt openjade opensp
</programlisting>
Expand Down
12 changes: 7 additions & 5 deletions postgresql/ecpg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5710,12 +5710,14 @@ cc -o myprog prog1.o prog2.o ... -lecpg
</para>

<para>
You can
use <command>pg_config</command><indexterm><primary>pg_config</primary><secondary sortas="ecpg">with
Vous pouvez utiliser <command>pg_config</command>
<indexterm><primary>pg_config</primary><secondary sortas="ecpg">avec
ecpg</secondary></indexterm>
or <command>pkg-config</command><indexterm><primary>pkg-config</primary><secondary sortas="ecpg">with
ecpg</secondary></indexterm> with package name <literal>libecpg</literal> to
get the paths for your installation.
ou <command>pkg-config</command>
<indexterm><primary>pkg-config</primary><secondary sortas="ecpg">avec
ecpg</secondary></indexterm>
avec le package <literal>libecpg</literal> pour obtenir les chemins de votre
installation.
</para>

<para>
Expand Down
18 changes: 9 additions & 9 deletions postgresql/errcodes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@
</para>

<para>
For some types of errors, the server reports the name of a database object
(a table, table column, data type, or constraint) associated with the error;
for example, the name of the unique constraint that caused a
<symbol>unique_violation</symbol> error. Such names are supplied in separate
fields of the error report message so that applications need not try to
extract them from the possibly-localized human-readable text of the message.
As of <productname>PostgreSQL</productname> 9.3, complete coverage for this feature
exists only for errors in SQLSTATE class 23 (integrity constraint
violation), but this is likely to be expanded in future.
Pour certains types d'erreurs, le serveur rapporte le nom d'un objet de la
base (une table, la colonne d'une table, le type d'une donnée ou une constrainte)
associé à l'erreur&nbsp;; par exemple, le nombre de la contrainte unique qui a
causé une erreur de type <symbol>unique_violation</symbol>. Ces noms sont fournis
dans des champs séparés du message d'erreur pour que les applications n'aient pas
besoin de les extraire d'un texte prévu pour un humain et potentiellement traduit
dans sa langue. À partir de <productname>PostgreSQL</productname> 9.3, cette
fonctionnalité est complète pour les erreurs de la classe SQLSTATE 23 (violation
d'une contrainte d'intégrité). Elle sera étendue lors des prochaines versions.
</para>

<table id="errcodes-table">
Expand Down
2 changes: 1 addition & 1 deletion postgresql/file-fdw.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
données situées sur le système de fichiers du serveur. Les fichiers de données doivent
être dans un format qui puisse être lu par <command>COPY FROM</command>; voyez
<xref linkend="sql-copy"/> pour les détails.
Access to such data files is currently read-only.
L'accès à ce type de fichier se fait uniquement en lecture seule.
</para>

<para>
Expand Down
8 changes: 5 additions & 3 deletions postgresql/high-availability.xml
Original file line number Diff line number Diff line change
Expand Up @@ -985,9 +985,11 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
</para>

<para>
If an upstream standby server is promoted to become new master, downstream
servers will continue to stream from the new master if
<varname>recovery_target_timeline</varname> is set to <literal>'latest'</literal>.
Si un serveur standby upstream est promu pour devenir le nouveau serveur
maître, les serveurs downstream continueront à recevoir le flux de
réplication du nouveau maître si le paramètre
<varname>recovery_target_timeline</varname> est configuré à
<literal>'latest'</literal>.
</para>

<para>
Expand Down
10 changes: 5 additions & 5 deletions postgresql/history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@
<listitem>
<para>
le langage PostQUEL est remplacé par <acronym>SQL</acronym>
(implanté sur le serveur).(Interface
library <link linkend="libpq">libpq</link> was named after PostQUEL.)
Les requêtes imbriquées n'ont pas été
supportées avant <productname>PostgreSQL</productname> (voir plus loin)
mais elles pouvaient être imitées dans
(implanté sur le serveur). (La bibliothèque d'interface <link
linkend="libpq">libpq</link> a été nommé à partir du langage
PostQUEL.) Les requêtes imbriquées n'ont pas été supportées avant
<productname>PostgreSQL</productname> (voir plus loin) mais elles
pouvaient être imitées dans
<productname>Postgres95</productname> à l'aide de fonctions
<acronym>SQL</acronym> utilisateur&nbsp;; les agrégats furent
reprogrammés, la clause GROUP BY ajoutée&nbsp;;
Expand Down
8 changes: 4 additions & 4 deletions postgresql/lo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
<para>
Pour chaque colonne qui contiendra des références uniques aux <quote>Large
Objects</quote>, créez un trigger <literal>BEFORE UPDATE OR DELETE</literal>
trigger, et donnez le nom de la colonne comme argument du trigger. You can
also restrict the trigger to only execute on updates to the column by using
<literal>BEFORE UPDATE OF</literal> <replaceable class="parameter">column_name</replaceable>.
Si vous
trigger, et donnez le nom de la colonne comme argument du trigger. Vous pouvez
aussi restreindre le trigger pour ne s'exécuter que sur les mises à jour de
la colonne en utilisant <literal>BEFORE UPDATE OF</literal> <replaceable
class="parameter">nom_colonne</replaceable>. Si vous
avez plusieurs colonnes <type>lo</type> dans la même table, créez un
trigger séparé pour chacune en vous souvenant de donner un nom différent
à chaque trigger sur la même table.
Expand Down
4 changes: 2 additions & 2 deletions postgresql/maintenance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,8 @@ HINT: Stop the postmaster and use a standalone backend to VACUUM in "mydb".
travailleur a terminé. Chaque processus travailleur vérifiera chaque table de
leur base de données et exécutera un <command>VACUUM</command> et/ou un
<command>ANALYZE</command> suivant les besoins.
<varname>log_autovacuum_min_duration</varname> can be used to monitor
autovacuum activity.
<varname>log_autovacuum_min_duration</varname> peut être utilisé pour
superviser l'activité de l'autovacuum.
</para>

<para>
Expand Down
14 changes: 7 additions & 7 deletions postgresql/monitoring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1859,13 +1859,13 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid,
</para>

<para>
Currently, the
<ulink url="https://en.wikipedia.org/wiki/DTrace">DTrace</ulink>
utility is supported, which, at the time of this writing, is available
on Solaris, Mac OS X, FreeBSD, NetBSD, and Oracle Linux. Le projet <ulink
url="http://sourceware.org/systemtap/">SystemTap</ulink> provides a
DTrace equivalent and can also be used. Le support d'autres outils de traces dynamiques
est possible théoriquement en modifiant les définitions des macros dans
Actuellement, l'outil <ulink
url="https://en.wikipedia.org/wiki/DTrace">DTrace</ulink> est supporté. Il
est disponible sur Solaris, Mac OS X, FreeBSD, NetBSD et Oracle Linux. Le
projet <ulink url="http://sourceware.org/systemtap/">SystemTap</ulink>
fournit un équivalent DTrace et peut aussi être utilisé. Le support
d'autres outils de traces dynamiques est possible théoriquement en modifiant
les définitions des macros dans
<filename>src/include/utils/probes.h</filename>.
</para>

Expand Down
11 changes: 6 additions & 5 deletions postgresql/perform.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1493,11 +1493,12 @@ WHERE quelquechosedautre;</programlisting>
</listitem>
<listitem>
<para>
Experiment with the parallel dump and restore modes of both
<application>pg_dump</application> and <application>pg_restore</application> and find the
optimal number of concurrent jobs to use. Dumping and restoring in
parallel by means of the <option>-j</option> option should give you a
significantly higher performance over the serial mode.
Testez le mode parallélisé de la sauvegarde et de la restauration des
outils <application>pg_dump</application> et
<application>pg_restore</application>, et trouvez le nombre optimal de
tâches parallélisées à utiliser. La sauvegarde et la restauration en
parallèle avec l'option <option>-j</option> devraient vous donner de
meilleures performances.
</para>
</listitem>
<listitem>
Expand Down
9 changes: 5 additions & 4 deletions postgresql/pgrowlocks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ pgrowlocks(text) returns setof record
<row>
<entry><structfield>lock_type</structfield></entry>
<entry><type>text[]</type></entry>
<entry>Lock mode of lockers (more than one if multitransaction),
an array of <literal>Key Share</literal>, <literal>Share</literal>,
<literal>For No Key Update</literal>, <literal>No Key Update</literal>,
<literal>For Update</literal>, <literal>Update</literal>.</entry>
<entry>Mode de verrouillage des verrous (plus d'un dans le cas d'une
transaction multiple), un tableau de <literal>Key Share</literal>,
<literal>Share</literal>, <literal>For No Key Update</literal>,
<literal>No Key Update</literal>, <literal>For Update</literal>,
<literal>Update</literal>.</entry>
</row>
<row>
<entry><structfield>pids</structfield></entry>
Expand Down
7 changes: 4 additions & 3 deletions postgresql/pgtestfsync.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
<application>pg_test_fsync</application> pourraient ne faire aucune différence avec la vraie bande
passante d'une base de données, et spécialement pour les serveurs qui ne
sont pas ralenties par leur journaux de transactions.
<application>pg_test_fsync</application> reports average file sync operation
time in microseconds for each wal_sync_method, which can also be used to
inform efforts to optimize the value of <xref linkend="guc-commit-delay"/>.
<application>pg_test_fsync</application> rapporte la durée moyenne en
microsecondes de l'opération de synchronisation du fichier pour chaque méthode
proposée par le paramètre wal_sync_method. Cet outil peut aussi être utilisé
pour optimiser la valeur du paramètre <xref linkend="guc-commit-delay"/>.
</para>
</refsect1>

Expand Down
16 changes: 8 additions & 8 deletions postgresql/pgupgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@
<varlistentry>
<term><option>-j</option></term>
<term><option>--jobs</option></term>
<listitem><para>number of simultaneous processes or threads to use
</para></listitem>
<listitem><para>nombre de processus ou threads simultanés à utiliser</para></listitem>
</varlistentry>

<varlistentry>
Expand Down Expand Up @@ -370,12 +369,13 @@ utilisent un autre nom de service)
</para>

<para>
The <option>--jobs</option> option allows multiple CPU cores to be used
for copying/linking of files and to dump and reload database schemas
in parallel; a good place to start is the maximum of the number of
CPU cores and tablespaces. This option can dramatically reduce the
time to upgrade a multi-database server running on a multiprocessor
machine.
L'option <option>--jobs</option> permet l'utilisation de plusieurs
processeurs pour la copie ou la création de liens des fichiers, et pour
la sauvegarde et la restauration parallélisés des schémas des bases.
Une bonne valeur pour commencer correspond au nombre de processeurs et
de tablespaces. Cette option peut réduire très fortement la durée de mise
à jour d'un serveur contenant plusieurs bases de données et s'exécutant
sur une machine multiprocesseurs.
</para>

<para>
Expand Down
6 changes: 3 additions & 3 deletions postgresql/plpython.xml
Original file line number Diff line number Diff line change
Expand Up @@ -975,9 +975,9 @@ $$ LANGUAGE plpythonu;
<term><literal><function>__str__</function>()</literal></term>
<listitem>
<para>
The standard <literal>__str__</literal> method is defined so that it
is possible for example to debug query execution results
using <literal>plpy.debug(rv)</literal>.
La méthode standard <literal>__str__</literal> est définie pour qu'il
soit possible de débugger les résultats de l'exécution d'une requête
en utilisant <literal>plpy.debug(rv)</literal>.
</para>
</listitem>
</varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion postgresql/rangetypes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ SELECT '[1.234, 5.678]'::floatrange;

<para>
Des index GiST et SP-GiST peuvent être créés pour des colonnes de table de type
intervalle de valeurs. Par exemple, to create a GiST index&nbsp;:
intervalle de valeurs. Par exemple, pour créer un index GiST&nbsp;:
<programlisting>
CREATE INDEX reservation_idx ON reservation USING gist (during);
</programlisting>
Expand Down
4 changes: 2 additions & 2 deletions postgresql/ref/alter_extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ ALTER EXTENSION <replaceable class="PARAMETER">nom</replaceable> DROP <replaceab
COLLATION <replaceable class="PARAMETER">nom_objet</replaceable> |
CONVERSION <replaceable class="PARAMETER">nom_objet</replaceable> |
DOMAIN <replaceable class="PARAMETER">nom_objet</replaceable> |
EVENT TRIGGER <replaceable class="PARAMETER">object_name</replaceable> |
EVENT TRIGGER <replaceable class="PARAMETER">nom_objet</replaceable> |
FOREIGN DATA WRAPPER <replaceable class="PARAMETER">nom_objet</replaceable> |
FOREIGN TABLE <replaceable class="PARAMETER">nom_objet</replaceable> |
FUNCTION <replaceable class="PARAMETER">nom_fonction</replaceable> ( [ [ <replaceable class="parameter">mode_arg</replaceable> ] [ <replaceable class="parameter">nom_arg</replaceable> ] <replaceable class="parameter">type_arg</replaceable> [, ...] ] ) |
MATERIALIZED VIEW <replaceable class="PARAMETER">object_name</replaceable> |
MATERIALIZED VIEW <replaceable class="PARAMETER">nom_objet</replaceable> |
OPERATOR <replaceable class="PARAMETER">nom_opérateur</replaceable> (<replaceable class="PARAMETER">type_gauche</replaceable>, <replaceable class="PARAMETER">type_droit</replaceable>) |
OPERATOR CLASS <replaceable class="PARAMETER">nom_objet</replaceable> USING <replaceable class="parameter">méthode_indexage</replaceable> |
OPERATOR FAMILY <replaceable class="PARAMETER">nom_objet</replaceable> USING <replaceable class="parameter">méthode_indexage</replaceable> |
Expand Down

0 comments on commit 2c80b50

Please sign in to comment.