Skip to content

Commit

Permalink
Traduction v11 de ref/call.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
rjuju authored and gleu committed Sep 17, 2018
1 parent f2c97b3 commit bea0d4a
Showing 1 changed file with 26 additions and 23 deletions.
49 changes: 26 additions & 23 deletions postgresql/ref/call.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,42 @@ PostgreSQL documentation
<refmeta>
<refentrytitle>CALL</refentrytitle>
<manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo>
<refmiscinfo>SQL - Instructions du langage</refmiscinfo>
</refmeta>

<refnamediv>
<refname>CALL</refname>
<refpurpose>invoke a procedure</refpurpose>
<refpurpose>invoque une procédure</refpurpose>
</refnamediv>

<refsynopsisdiv>
<synopsis>
CALL <replaceable class="parameter">name</replaceable> ( [ <replaceable class="parameter">argument</replaceable> ] [, ...] )
CALL <replaceable class="parameter">nom</replaceable> ( [ <replaceable class="parameter">argument</replaceable> ] [, ...] )
</synopsis>
</refsynopsisdiv>

<refsect1>
<title>Description</title>

<para>
<command>CALL</command> executes a procedure.
<command>CALL</command> exécutes une procédure.
</para>

<para>
If the procedure has output arguments, then a result row will be returned.
Si la procédure a des arguments en sortie, alors une ligne de résultat sera
retournée.
</para>
</refsect1>

<refsect1>
<title>Parameters</title>
<title>Paramètres</title>

<variablelist>
<varlistentry>
<term><replaceable class="parameter">name</replaceable></term>
<term><replaceable class="parameter">nom</replaceable></term>
<listitem>
<para>
The name (optionally schema-qualified) of the procedure.
Le nom (potientiellement qualifé du schéma) de la procédure.
</para>
</listitem>
</varlistentry>
Expand All @@ -55,9 +56,10 @@ CALL <replaceable class="parameter">name</replaceable> ( [ <replaceable class="p
<term><replaceable class="parameter">argument</replaceable></term>
<listitem>
<para>
An argument for the procedure call.
See <xref linkend="sql-syntax-calling-funcs"/> for the full details on
function and procedure call syntax, including use of named parameters.
Un argument pour l'appel de la procédure.
Voir <xref linkend="sql-syntax-calling-funcs"/> pour la totalité des
détails sur la syntaxe d'appel des fonctions et procédures, incluant
l'utilisation de paramètres nommés.
</para>
</listitem>
</varlistentry>
Expand All @@ -68,39 +70,40 @@ CALL <replaceable class="parameter">name</replaceable> ( [ <replaceable class="p
<title>Notes</title>

<para>
The user must have <literal>EXECUTE</literal> privilege on the procedure in
order to be allowed to invoke it.
L'utilisateur doit avoir le privilège <literal>EXECUTE</literal> sur la
procédure pour pouvoir être autorisé à l'invoquer.
</para>

<para>
To call a function (not a procedure), use <command>SELECT</command> instead.
Pour appeler une fonction (pas une procédure), utilisez
<command>SELECT</command> à la place.
</para>

<para>
If <command>CALL</command> is executed in a transaction block, then the
called procedure cannot execute transaction control statements.
Transaction control statements are only allowed if <command>CALL</command>
is executed in its own transaction.
Si <command>CALL</command> est exécuté dans un bloc de transaction, alors
la procédure appelée ne peut pas exécuter d'ordre de contrôle de transaction.
Les ordres de contrôle de transaction ne sont autorisés que si
<command>CALL</command> est exécuté dans sa propre transaction.
</para>
</refsect1>

<refsect1>
<title>Examples</title>
<title>Exemples</title>
<programlisting>
CALL do_db_maintenance();
CALL faire_maintenance_bd();
</programlisting>
</refsect1>

<refsect1>
<title>Compatibility</title>
<title>Compatibilité</title>

<para>
<command>CALL</command> conforms to the SQL standard.
<command>CALL</command> est conforme au standard SQL.
</para>
</refsect1>

<refsect1>
<title>See Also</title>
<title>Voir aussi</title>

<simplelist type="inline">
<member><xref linkend="sql-createprocedure"/></member>
Expand Down

0 comments on commit bea0d4a

Please sign in to comment.