Skip to content

Commit

Permalink
Traduction de la 9.3 RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed Aug 25, 2013
1 parent e67374f commit 6d99cd5
Show file tree
Hide file tree
Showing 46 changed files with 953 additions and 215 deletions.
5 changes: 3 additions & 2 deletions postgresql/auto-explain.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,10 @@
<command>EXPLAIN (ANALYZE)</command>. La surcharge due à la lecture répétée de
l'horloge système pourrait ralentir fortement la requête sur certains systèmes,
donc il est intéressant de pouvoir configurer ce paramètre à
<literal>FALSE</literal> quand seul le dénombrage des lignes est nécessaire.
off quand seul le dénombrage des lignes est nécessaire.
Ce paramètre n'est pris en compte que si <varname>auto_explain.log_analyze</varname>
est lui-aussi activé. Par défaut, ce paramètre vaut <literal>TRUE</literal>.
est lui-aussi activé. Ce paramètre est activé par défaut. Seuls les
superutilisateurs peuvent modifier cette configuration.
</para>
</listitem>
</varlistentry>
Expand Down
26 changes: 9 additions & 17 deletions postgresql/bgworker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,14 @@
La structure <structname>BackgroundWorker</structname> est définie ainsi&nbsp;:
<programlisting>
typedef void (*bgworker_main_type)(void *main_arg);
typedef void (*bgworker_sighdlr_type)(SIGNAL_ARGS);
typedef struct BackgroundWorker
{
char *bgw_name;
char bgw_name[BGW_MAXLEN];
int bgw_flags;
BgWorkerStartTime bgw_start_time;
int bgw_restart_time; /* in seconds, or BGW_NEVER_RESTART */
bgworker_main_type bgw_main;
void *bgw_main_arg;
bgworker_sighdlr_type bgw_sighup;
bgworker_sighdlr_type bgw_sigterm;
bgworker_main_type bgw_main;
Datum bgw_main_arg;
} BackgroundWorker;
</programlisting>
</para>
Expand All @@ -66,7 +63,11 @@ typedef struct BackgroundWorker
<literal>BGWORKER_SHMEM_ACCESS</literal> (demandant un accès à la mémoire partagée)
et <literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> (demandant la capacité
d'établir une connexion à la base, grâce à laquelle il pourra exécuter des
transactions et requêtes ultérieurement).
transactions et requêtes ultérieurement). Un processus en tâche de fond
utilisant <literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> pour se
connecter à une base de données doit aussi attacher de la mémoire partagée
en utilisant <literal>BGWORKER_SHMEM_ACCESS</literal>. Dans le cas contraire,
le démarrage de la tâche de fond échouera.
</para>

<para>
Expand Down Expand Up @@ -103,15 +104,6 @@ typedef struct BackgroundWorker
lors de l'enregistrement.
</para>

<para>
<structfield>bgw_sighup</structfield> et <structfield>bgw_sigterm</structfield> sont
des pointeurs vers des fonctions qui seront installées comme gestionnaires de
signal pour les nouveaux processus. Si <structfield>bgw_sighup</structfield>
vaut NULL, alors <literal>SIG_IGN</literal> est utilisé&nbsp;; si
<structfield>bgw_sigterm</structfield> vaut NULL, un gestionnaire est installé qui terminera
le processus après avoir tracé un message adéquat.
</para>

<para>Une fois démarré, le processus peut se connecter à une base en appelant
<function>BackgroundWorkerInitializeConnection(<parameter>char *dbname</parameter>, <parameter>char *username</parameter>)</function>.
Cela autorise le processus à exécuter des transactions et des requêtes en
Expand All @@ -128,7 +120,7 @@ typedef struct BackgroundWorker
<para>
Les signaux sont initialement bloqués jusqu'à ce que le contrôle atteigne
la fonction <structfield>bgw_main</structfield>, et doivent être débloqués
par elle&nbsp;; cela permet une personnalisation ultérieure des
par elle&nbsp;; cela permet une personnalisation des
gestionnaires de signaux du processus, si nécessaire. Les signaux peuvent
être débloqués dans le nouveau processus en appellant
<function>BackgroundWorkerUnblockSignals</function> et bloqués en appelant
Expand Down
31 changes: 31 additions & 0 deletions postgresql/catalogs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1985,6 +1985,21 @@ lourd ! -->
</entry>
</row>

<row>
<entry><structfield>relminmxid</structfield></entry>
<entry><type>xid</type></entry>
<entry></entry>
<entry>
Tous les identifiants de multitransactions avant celui-i ont été remplacés
par un identifiant de transaction dans cette table. Ceci est utilisé pour
tracer si la table a besoin d'être traitée par le VACUUM pour empêcher
un bouclage des identifiants de multitransactions ou pour permettre à
<literal>pg_clog</literal> d'être réduits. Cette colonne vaut zéro
(<symbol>InvalidTransactionId</symbol>) si la relation n'est pas une
table.
</entry>
</row>

<row>
<entry><structfield>relacl</structfield></entry>
<entry><type>aclitem[]</type></entry>
Expand Down Expand Up @@ -2769,6 +2784,22 @@ lourd ! -->
</entry>
</row>

<row>
<entry><structfield>datminmxid</structfield></entry>
<entry><type>xid</type></entry>
<entry></entry>
<entry>
Tous les identifiants de multitransactions avant celui-i ont été remplacés
par un identifiant de transaction dans cette table. Ceci est utilisé pour
tracer si la base de données a besoin d'être traitée par le VACUUM pour
empêcher un bouclage des identifiants de multitransactions ou pour
permettre à <literal>pg_clog</literal> d'être réduit. Il s'agit aussi
de la valeur minimale des valeurs de
<structname>pg_class</structname>.<structfield>relminmxid</structfield>
pour chaque table.
</entry>
</row>

<row>
<entry><structfield>dattablespace</structfield></entry>
<entry><type>oid</type></entry>
Expand Down
12 changes: 0 additions & 12 deletions postgresql/charset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1540,17 +1540,6 @@ by pg_wchar_table.mblen function for each encoding.
jeux de caractères.

<variablelist>
<varlistentry>
<term><ulink url="http://www.i18ngurus.com/docs/984813247.html"></ulink></term>

<listitem>
<para>
Une collection complète de documents sur les jeux de caractères,
les encodages et les pages code.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><citetitle>CJKV Information Processing: Chinese, Japanese, Korean &amp; Vietnamese Computing</citetitle></term>

Expand Down Expand Up @@ -1591,4 +1580,3 @@ by pg_wchar_table.mblen function for each encoding.

</chapter>


3 changes: 2 additions & 1 deletion postgresql/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5698,7 +5698,8 @@ SET XML OPTION { DOCUMENT | CONTENT };
valeur maximale de 3 pour inclure les chiffres partiellement significatifs&nbsp;; c'est
tout spécialement utile pour sauvegarder les données à virgule flottante
qui ont besoin d'être restaurées exactement. Cette variable peut aussi
être négative pour supprimer les chiffres non souhaités.
être négative pour supprimer les chiffres non souhaités. Voir aussi
<xref linkend="datatype-float"/>.
</para>
</listitem>
</varlistentry>
Expand Down
12 changes: 12 additions & 0 deletions postgresql/datatype.xml
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,18 @@
produisent une erreur (underflow).
</para>

<note>
<para>
Le paramètre <xref linkend="guc-extra-float-digits"/> contrôle le nombre
de chiffres significatifs supplémentaires à inclure quand une valeur à
virgule flottante est convertie en texte. Avec la valeur par défaut de
<literal>0</literal>, la sortie est la même sur chaque plateforme supportée
par PostgreSQL. L'augmenter va produire une sortie qui représentera de
façon plus précise la valeur stockée, mais cela pourrait la rendre non
portable.
</para>
</note>

<indexterm>
<primary>not a number</primary>
<secondary>double precision</secondary>
Expand Down
78 changes: 77 additions & 1 deletion postgresql/dblink.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
les standards.
</para>

<indexterm>
<primary>dblink_connect</primary>
</indexterm>

<refentry id="contrib-dblink-connect">
<refmeta>
<refentrytitle>dblink_connect</refentrytitle>
Expand Down Expand Up @@ -186,6 +190,10 @@ CREATE USER dblink_regression_test WITH PASSWORD 'secret';
</refsect1>
</refentry>

<indexterm>
<primary>dblink_connect_u</primary>
</indexterm>

<refentry id="contrib-dblink-connect-u">
<refmeta>
<refentrytitle>dblink_connect_u</refentrytitle>
Expand Down Expand Up @@ -244,6 +252,10 @@ CREATE USER dblink_regression_test WITH PASSWORD 'secret';
</refsect1>
</refentry>

<indexterm>
<primary>dblink_disconnect</primary>
</indexterm>

<refentry id="contrib-dblink-disconnect">
<refmeta>
<refentrytitle>dblink_disconnect</refentrytitle>
Expand Down Expand Up @@ -316,6 +328,10 @@ SELECT dblink_disconnect();
</refsect1>
</refentry>

<indexterm>
<primary>dblink</primary>
</indexterm>

<refentry id="contrib-dblink-function">
<refmeta>
<refentrytitle>dblink</refentrytitle>
Expand Down Expand Up @@ -536,6 +552,10 @@ SELECT * FROM dblink('myconn', 'select proname, prosrc from pg_proc')
</refsect1>
</refentry>

<indexterm>
<primary>dblink_exec</primary>
</indexterm>

<refentry id="contrib-dblink-exec">
<refmeta>
<refentrytitle>dblink_exec</refentrytitle>
Expand Down Expand Up @@ -675,6 +695,10 @@ DETAIL: ERROR: null value in column "relnamespace" violates not-null constrain
</refsect1>
</refentry>

<indexterm>
<primary>dblink_open</primary>
</indexterm>

<refentry id="contrib-dblink-open">
<refmeta>
<refentrytitle>dblink_open</refentrytitle>
Expand Down Expand Up @@ -798,6 +822,10 @@ SELECT dblink_open('foo', 'select proname, prosrc from pg_proc');
</refsect1>
</refentry>

<indexterm>
<primary>dblink_fetch</primary>
</indexterm>

<refentry id="contrib-dblink-fetch">
<refmeta>
<refentrytitle>dblink_fetch</refentrytitle>
Expand Down Expand Up @@ -952,6 +980,10 @@ SELECT * FROM dblink_fetch('foo', 5) AS (funcname name, source text);
</refsect1>
</refentry>

<indexterm>
<primary>dblink_close</primary>
</indexterm>

<refentry id="contrib-dblink-close">
<refmeta>
<refentrytitle>dblink_close</refentrytitle>
Expand Down Expand Up @@ -1062,6 +1094,10 @@ SELECT dblink_close('foo');
</refsect1>
</refentry>

<indexterm>
<primary>dblink_get_connections</primary>
</indexterm>

<refentry id="contrib-dblink-get-connections">
<refmeta>
<refentrytitle>dblink_get_connections</refentrytitle>
Expand Down Expand Up @@ -1106,6 +1142,10 @@ SELECT dblink_close('foo');
</refsect1>
</refentry>

<indexterm>
<primary>dblink_error_message</primary>
</indexterm>

<refentry id="contrib-dblink-error-message">
<refmeta>
<refentrytitle>dblink_error_message</refentrytitle>
Expand Down Expand Up @@ -1166,6 +1206,10 @@ SELECT dblink_close('foo');
</refsect1>
</refentry>

<indexterm>
<primary>dblink_send_query</primary>
</indexterm>

<refentry id="contrib-dblink-send-query">
<refmeta>
<refentrytitle>dblink_send_query</refentrytitle>
Expand Down Expand Up @@ -1246,6 +1290,10 @@ SELECT dblink_close('foo');
</refsect1>
</refentry>

<indexterm>
<primary>dblink_is_busy</primary>
</indexterm>

<refentry id="contrib-dblink-is-busy">
<refmeta>
<refentrytitle>dblink_is_busy</refentrytitle>
Expand Down Expand Up @@ -1307,6 +1355,10 @@ SELECT dblink_close('foo');
</refsect1>
</refentry>

<indexterm>
<primary>dblink_get_notify</primary>
</indexterm>

<refentry id="contrib-dblink-get-notify">
<refmeta>
<refentrytitle>dblink_get_notify</refentrytitle>
Expand Down Expand Up @@ -1388,6 +1440,10 @@ SELECT * FROM dblink_get_notify();
</refsect1>
</refentry>

<indexterm>
<primary>dblink_get_result</primary>
</indexterm>

<refentry id="contrib-dblink-get-result">
<refmeta>
<refentrytitle>dblink_get_result</refentrytitle>
Expand Down Expand Up @@ -1546,7 +1602,11 @@ contrib_regression=# SELECT * FROM dblink_get_result('dtest1') AS t1(f1 int, f2
</screen>
</refsect1>
</refentry>
<!-- JCA::TAG RELECTURE -->

<indexterm>
<primary>dblink_cancel_query</primary>
</indexterm>

<refentry id="contrib-dblink-cancel-query">
<refmeta>
<refentrytitle>dblink_cancel_query</refentrytitle>
Expand Down Expand Up @@ -1612,6 +1672,10 @@ contrib_regression=# SELECT * FROM dblink_get_result('dtest1') AS t1(f1 int, f2
</refsect1>
</refentry>

<indexterm>
<primary>dblink_get_pkey</primary>
</indexterm>

<refentry id="contrib-dblink-get-pkey">
<refmeta>
<refentrytitle>dblink_get_pkey</refentrytitle>
Expand Down Expand Up @@ -1702,6 +1766,10 @@ SELECT * FROM dblink_get_pkey('foobar');
</refsect1>
</refentry>

<indexterm>
<primary>dblink_build_sql_insert</primary>
</indexterm>

<refentry id="contrib-dblink-build-sql-insert">
<refmeta>
<refentrytitle>dblink_build_sql_insert</refentrytitle>
Expand Down Expand Up @@ -1835,6 +1903,10 @@ SELECT dblink_build_sql_insert('foo', '1 2', 2, '{"1", "a"}', '{"1", "b''a"}');
</refsect1>
</refentry>

<indexterm>
<primary>dblink_build_sql_delete</primary>
</indexterm>

<refentry id="contrib-dblink-build-sql-delete">
<refmeta>
<refentrytitle>dblink_build_sql_delete</refentrytitle>
Expand Down Expand Up @@ -1950,6 +2022,10 @@ SELECT dblink_build_sql_delete('"MyFoo"', '1 2', 2, '{"1", "b"}');
</refsect1>
</refentry>

<indexterm>
<primary>dblink_build_sql_update</primary>
</indexterm>

<refentry id="contrib-dblink-build-sql-update">
<refmeta>
<refentrytitle>dblink_build_sql_update</refentrytitle>
Expand Down

0 comments on commit 6d99cd5

Please sign in to comment.