Skip to content

Commit

Permalink
Traduction des changements sur libpq en v12.
Browse files Browse the repository at this point in the history
  • Loading branch information
dverite committed Jun 23, 2019
1 parent 0ea2953 commit f795371
Showing 1 changed file with 48 additions and 46 deletions.
94 changes: 48 additions & 46 deletions postgresql/libpq.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ typedef struct
forme d'un entier décimal, par exemple <literal>10</literal>). La
valeur zéro, une valeur négative ou sans valeur indique une attente
infinie. Le délai minimal autorisé est 2 secondes, de ce fait la
valeur <literal>1</literal> est interprété comme <literal>2</literal>.
valeur <literal>1</literal> est interprétée comme <literal>2</literal>.
Ce délai s'applique séparément pour chaque nom d'hôte ou adresse IP.
Par exemple, si vous indiquez deux hôtes et que le paramètre
<literal>connect_timeout</literal> vaut 5, chaque hôte sera en timeout
Expand Down Expand Up @@ -1317,12 +1317,15 @@ typedef struct
<term><literal>tcp_user_timeout</literal></term>
<listitem>
<para>
Controls the number of milliseconds that transmitted data may
remain unacknowledged before a connection is forcibly closed.
A value of zero uses the system default. This parameter is
ignored for connections made via a Unix-domain socket.
It is only supported on systems where <symbol>TCP_USER_TIMEOUT</symbol>
is available; on other systems, it has no effect.
Contrôle le nombre de millisecondes durant lesquelles les
données transmises peuvent rester non acquittées avant que la
connexion soit fermée de force.
Une valeur à zéro indique d'utiliser la valeur par défaut du
système. Ce paramètre est ignoré pour les connexions initiées
via socket de domaine Unix.
Il est seulement pris en charge sur les systèmes où
<symbol>TCP_USER_TIMEOUT</symbol> est disponible; sur les autres systèmes,
il n'a pas d'effet.
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -1401,31 +1404,31 @@ typedef struct
<term><literal>gssencmode</literal></term>
<listitem>
<para>
This option determines whether or with what priority a secure
<acronym>GSS</acronym> TCP/IP connection will be negotiated with the
server. There are three modes:
Cette option détermine si une connexion TCP/IP sécurisée avec
<acronym>GSS</acronym> sera négociée avec le serveur, et si oui avec
quelle priorité. Il y a trois modes:

<variablelist>
<varlistentry>
<term><literal>disable</literal></term>
<listitem>
<para>
only try a non-<acronym>GSSAPI</acronym>-encrypted connection
essaie uniquement une connexion non chiffrée avec <acronym>GSSAPI</acronym>.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><literal>prefer</literal> (default)</term>
<term><literal>prefer</literal> (par défaut)</term>
<listitem>
<para>
if there are <acronym>GSSAPI</acronym> credentials present (i.e.,
in a credentials cache), first try
a <acronym>GSSAPI</acronym>-encrypted connection; if that fails or
there are no credentials, try a
non-<acronym>GSSAPI</acronym>-encrypted connection. This is the
default when <productname>PostgreSQL</productname> has been
compiled with <acronym>GSSAPI</acronym> support.
si des informations d'authentification <acronym>GSSAPI</acronym> sont présentes
(c.a.d, dans un cache d'authentification), essaie d'abord une connexion
chiffrée avec <acronym>GSSAPI</acronym>; si elle échoue ou qu'il n'y a
pas les informations d'authentification, essaie une connexion non chiffrée
avec <acronym>GSSAPI</acronym>. C'est le comportement par défaut quand
<productname>PostgreSQL</productname> a été compilé avec le support
de <acronym>GSSAPI</acronym>.
</para>
</listitem>
</varlistentry>
Expand All @@ -1434,21 +1437,21 @@ typedef struct
<term><literal>require</literal></term>
<listitem>
<para>
only try a <acronym>GSSAPI</acronym>-encrypted connection
essaie uniquement une connexion chiffrée avec <acronym>GSSAPI</acronym>.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>

<para>
<literal>gssencmode</literal> is ignored for Unix domain socket
communication. If <productname>PostgreSQL</productname> is compiled
without GSSAPI support, using the <literal>require</literal> option
will cause an error, while <literal>prefer</literal> will be accepted
but <application>libpq</application> will not actually attempt
a <acronym>GSSAPI</acronym>-encrypted
connection.<indexterm><primary>GSSAPI</primary><secondary sortas="libpq">with
<literal>gssencmode</literal> est ignoré pour les connexions par socket
du domaine Unix. Si <productname>PostgreSQL</productname> est compilé
sans le support de GSSAPI, l'utilisation de l'option <literal>require</literal>
provoquera une erreur, alors que <literal>prefer</literal> sera acceptée
mais dans ce cas <application>libpq</application> n'essaiera pas d'initier
une connexion chiffrée avec <acronym>GSSAPI</acronym>.
<indexterm><primary>GSSAPI</primary><secondary sortas="libpq">avec
libpq</secondary></indexterm>
</para>
</listitem>
Expand Down Expand Up @@ -1483,7 +1486,7 @@ typedef struct
</varlistentry>

<varlistentry>
<term><literal>prefer</literal> (default)</term>
<term><literal>prefer</literal> (par défaut)</term>
<listitem>
<para>
essaie en premier lieu une connexion
Expand Down Expand Up @@ -1879,21 +1882,20 @@ typedef struct

<listitem>
<para>
Returns the server IP address of the active connection.
This can be the address that a host name resolved to,
or an IP address provided through the <literal>hostaddr</literal>
parameter.
<synopsis>
char *PQhostaddr(const PGconn *conn);
</synopsis>
Renvoie l'adresse IP du serveur de la connexion active.
Ca peut être l'adresse résultant de la résolution d'un nom d'hôte,
ou une adresse IP fournie par le paramètre <literal>hostaddr</literal>.
<synopsis>
char *PQhostaddr(const PGconn *conn);
</synopsis>
</para>

<para>
<function>PQhostaddr</function> returns <symbol>NULL</symbol> if the
<parameter>conn</parameter> argument is <symbol>NULL</symbol>.
Otherwise, if there is an error producing the host information
(perhaps if the connection has not been fully established or
there was an error), it returns an empty string.
<function>PQhostaddr</function> renvoie <symbol>NULL</symbol> si
l'argument <parameter>conn</parameter> est <symbol>NULL</symbol>.
Sinon, si une erreur survient en produisant l'information sur
l'hôte (peut-être parce que la connexion n'a pas été complètement
établie ou qu'elle a subi une erreur), renvoie une chaîne vide.
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -5635,10 +5637,10 @@ char *PQresultVerboseErrorMessage(const PGresult *res,
position&nbsp;; ceci tiendra normalement sur une seule ligne. Le mode par
défaut produit des messages qui incluent ces champs ainsi que les champs détail,
astuce ou contexte (ils pourraient être sur plusieurs lignes). Le mode
<firstterm>VERBOSE</firstterm> inclut tous les champs disponibles. The
<firstterm>SQLSTATE</firstterm> mode includes only the error severity and
the <symbol>SQLSTATE</symbol> error code, if one is available (if not,
the output is like <firstterm>TERSE</firstterm> mode).
<firstterm>VERBOSE</firstterm> inclut tous les champs disponibles. Le mode
<firstterm>SQLSTATE</firstterm> mode inclut seulement la sévérité de l'erreur
et le code d'erreur <symbol>SQLSTATE</symbol>, s'il est disponible (dans le
cas contraire, la sortie est comme pour le mode <firstterm>TERSE</firstterm>).
</para>

<para>
Expand Down Expand Up @@ -7113,8 +7115,8 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
<indexterm>
<primary><envar>PGGSSENCMODE</envar></primary>
</indexterm>
<envar>PGGSSENCMODE</envar> behaves the same as the <xref
linkend="libpq-connect-gssencmode"/> connection parameter.
<envar>PGGSSENCMODE</envar> se comporte de la même façon que le
paramètre de connexion <xref linkend="libpq-connect-gssencmode"/>.
</para>
</listitem>

Expand Down

0 comments on commit f795371

Please sign in to comment.