root/traduc/branches/bv747/manuel/ref/commit.sgml

Revision 13, 2.6 kB (checked in by gleu, 3 years ago)

Suite de l'import pour le passage CVS à SVN.

Line 
1 <!--
2 $Header: /var/lib/cvs/pgsql-fr/sgml/ref/commit.sgml,v 1.7 2005/01/19 23:08:50 guillaume Exp $
3 PostgreSQL documentation
4 -->
5
6 <refentry id="SQL-COMMIT">
7  <refmeta>
8   <refentrytitle id="SQL-COMMIT-TITLE">COMMIT</refentrytitle>
9   <refmiscinfo>SQL - Instructions du langage</refmiscinfo>
10  </refmeta>
11
12  <refnamediv>
13   <refname>COMMIT</refname>
14   <refpurpose>valide la transaction en cours</refpurpose>
15  </refnamediv>
16
17  <indexterm zone="sql-commit">
18   <primary>COMMIT</primary>
19  </indexterm>
20
21  <refsynopsisdiv>
22 <synopsis>
23 COMMIT [ WORK | TRANSACTION ]
24 </synopsis>
25  </refsynopsisdiv>
26  
27  <refsect1>
28   <title>Description</title>
29
30   <para>
31    <command>COMMIT</command> valide la transaction en cours. Toutes les
32    modifications réalisées par la transaction deviennent visibles aux autres et
33    sont garanties pour être durables si un arrêt brutal survient.
34   </para>
35  </refsect1>
36  
37  <refsect1>
38   <title>Paramètres</title>
39
40   <variablelist>
41    <varlistentry>
42     <term><literal>WORK</literal></term>
43     <term><literal>TRANSACTION</literal></term>
44     <listitem>
45      <para>
46       Mots clés optionnels et sans effet.
47      </para>
48     </listitem>
49    </varlistentry>
50   </variablelist>
51  </refsect1>
52
53  <refsect1>
54   <title>Notes</title>
55
56   <para>
57    Utilisez <xref linkend="SQL-ROLLBACK" endterm="SQL-ROLLBACK-TITLE"> pour
58    annuler une transaction.
59   </para>
60
61   <para>
62    Lancer <command>COMMIT</> à l'extérieur d'une transaction ne fait aucun mal
63    mais provoque l'affiche d'un message d'avertissement.
64   </para>
65  </refsect1>
66
67  <refsect1>
68   <title>Exemples</title>
69
70   <para>
71    Pour valider la transaction en cours et rendre toutes les modifications
72    permanentes&nbsp;:
73 <programlisting>
74 COMMIT;
75 </programlisting>
76   </para>
77  </refsect1>
78
79  <refsect1>
80   <title>Compatibilité</title>
81  
82   <para>
83    Le standard SQL spécifie seulement les deux formes
84    <literal>COMMIT</literal> et <literal>COMMIT
85    WORK</literal>. Sinon, cette commande est totalement conforme.
86   </para>
87  </refsect1>
88
89  <refsect1>
90   <title>Voir aussi</title>
91
92   <simplelist type="inline">
93    <member><xref linkend="sql-begin" endterm="sql-begin-title"></member>
94    <member><xref linkend="sql-rollback" endterm="sql-rollback-title"></member>
95   </simplelist>
96  </refsect1>
97 </refentry>
98
99 <!-- Keep this comment at the end of the file
100 Local variables:
101 mode: sgml
102 sgml-omittag:nil
103 sgml-shorttag:t
104 sgml-minimize-attributes:nil
105 sgml-always-quote-attributes:t
106 sgml-indent-step:1
107 sgml-indent-data:t
108 sgml-parent-document:nil
109 sgml-default-dtd-file:"../reference.ced"
110 sgml-exposed-tags:nil
111 sgml-local-catalogs:"/usr/lib/sgml/catalog"
112 sgml-local-ecat-files:nil
113 End:
114 -->
Note: See TracBrowser for help on using the browser.