Skip to content

Commit

Permalink
Deux traductions de Julien Moquet.
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed May 25, 2011
1 parent 31ce0f6 commit b67c971
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 49 deletions.
50 changes: 24 additions & 26 deletions postgresql/ref/drop_extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ PostgreSQL documentation
<refmeta>
<refentrytitle>DROP EXTENSION</refentrytitle>
<manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo>
<refmiscinfo>SQL - Instructions de langage</refmiscinfo>
</refmeta>

<refnamediv>
<refname>DROP EXTENSION</refname>
<refpurpose>remove an extension</refpurpose>
<refpurpose>Supprime une extension</refpurpose>
</refnamediv>

<indexterm zone="sql-dropextension">
Expand All @@ -29,26 +29,25 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="PARAMETER">extension_name</repl
<title>Description</title>

<para>
<command>DROP EXTENSION</command> removes extensions from the database.
Dropping an extension causes its component objects to be dropped as well.
<command>DROP EXTENSION</command> supprime les extensions de la base de données.
La suppression d'une extension entraine la suppression des objets inclus dans l'extension.
</para>

<para>
You must own the extension to use <command>DROP EXTENSION</command>.
Vous devez être propriétaire de l'extension pour utiliser <command>DROP EXTENSION</command>.
</para>
</refsect1>

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

<variablelist>

<varlistentry>
<term><literal>IF EXISTS</literal></term>
<listitem>
<para>
Do not throw an error if the extension does not exist. A notice is issued
in this case.
Permet de ne pas retourner d'erreur si l'extension n'existe pas. Une simple notice est alors rapportée.
</para>
</listitem>
</varlistentry>
Expand All @@ -57,7 +56,7 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="PARAMETER">extension_name</repl
<term><replaceable class="PARAMETER">extension_name</replaceable></term>
<listitem>
<para>
The name of an installed extension.
Le nom d'une extension préalablement installée.
</para>
</listitem>
</varlistentry>
Expand All @@ -66,7 +65,7 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="PARAMETER">extension_name</repl
<term><literal>CASCADE</literal></term>
<listitem>
<para>
Automatically drop objects that depend on the extension.
Supprime automatiquement les objets dont dépend cette extension.
</para>
</listitem>
</varlistentry>
Expand All @@ -75,46 +74,45 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="PARAMETER">extension_name</repl
<term><literal>RESTRICT</literal></term>
<listitem>
<para>
Refuse to drop the extension if any objects depend on it (other than
its own member objects and other extensions listed in the same
<command>DROP</command> command). This is the default.
Permet de spécifier que l'extension ne sera pas supprimée si des objets
en dépendent (des objets autres que ses propres objets et autres que
les autres extensions supprimées simultanément dans la même commande
<command>DROP</command>). Il s'agit du comportement par défaut.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>

<refsect1>
<title>Examples</title>
<title>Exemples</title>

<para>
To remove the extension <literal>hstore</literal> from the current
database:
Pour supprimer l'extension <literal>hstore</literal> de la base de données en cours:
<programlisting>
DROP EXTENSION hstore;
</programlisting>
This command will fail if any of <literal>hstore</literal>'s objects
are in use in the database, for example if any tables have columns
of the <type>hstore</type> type. Add the <literal>CASCADE</literal> option to
forcibly remove those dependent objects as well.
Cette commande va échouer si parmi les objets de <literal>hstore</literal>
certains sont en cours d'utilisation sur la base de données. Par exemple, si des tables
ont des colonnes du type <type>hstore</type>. Dans ce cas de figure, ajoutez l'option
cascade <literal>CASCADE</literal> pour forcer la suppression de ces objets.
</para>
</refsect1>

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

<para>
<command>DROP EXTENSION</command> is a <productname>PostgreSQL</productname>
extension.
<command>DROP EXTENSION</command> est une extension <productname>PostgreSQL</>.
</para>
</refsect1>

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

<simplelist type="inline">
<member><xref linkend="sql-createextension"/></member>
<member><xref linkend="sql-alterextension"/></member>
<member><xref linkend="sql-createextension"></member>
<member><xref linkend="sql-alterextension"></member>
</simplelist>
</refsect1>

Expand Down
52 changes: 29 additions & 23 deletions postgresql/ref/drop_foreign_table.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<refmeta>
<refentrytitle>DROP FOREIGN TABLE</refentrytitle>
<manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo>
<refmiscinfo>SQL - Instructions de langage</refmiscinfo>
</refmeta>

<refnamediv>
<refname>DROP FOREIGN TABLE</refname>
<refpurpose>remove a foreign table</refpurpose>
<refpurpose>Supprime une table distante</refpurpose>
</refnamediv>

<indexterm zone="sql-dropforeigntable">
Expand All @@ -26,21 +26,23 @@ DROP FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceabl
<title>Description</title>

<para>
<command>DROP FOREIGN TABLE</command> removes a foreign table.
Only the owner of a foreign table can remove it.
<command>DROP FOREIGN TABLE</command> supprime une table distante.
</para>

<para>
Vous devez être propriétaire de la table distante pour utiliser <command>DROP FOREIGN TABLE</command>.
</para>
</refsect1>

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

<variablelist>
<varlistentry>
<term><literal>IF EXISTS</literal></term>
<listitem>
<para>
Do not throw an error if the foreign table does not exist.
A notice is issued in this case.
Permet de ne pas retourner d'erreur si la table distante n'existe pas. Une simple notice est alors rapportée.
</para>
</listitem>
</varlistentry>
Expand All @@ -49,7 +51,8 @@ DROP FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceabl
<term><replaceable class="PARAMETER">name</replaceable></term>
<listitem>
<para>
The name (optionally schema-qualified) of the foreign table to drop.
Le nom de la table distante à supprimer.
Il est aussi possible de spécifier le schéma qui contient cette table.
</para>
</listitem>
</varlistentry>
Expand All @@ -58,8 +61,8 @@ DROP FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceabl
<term><literal>CASCADE</literal></term>
<listitem>
<para>
Automatically drop objects that depend on the foreign table (such as
views).
Supprime automatiquement les objets qui dépendent de cette table distante
(comme les vues par exemple).
</para>
</listitem>
</varlistentry>
Expand All @@ -68,40 +71,43 @@ DROP FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceabl
<term><literal>RESTRICT</literal></term>
<listitem>
<para>
Refuse to drop the foreign table if any objects depend on it. This is
the default.
Permet de spécifier que la table distante ne sera pas supprimée si des objets
en dépendent. Il s'agit du comportement par défaut.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>

<refsect1>
<title>Examples</title>
<title>Exemples</title>

<para>
To destroy two foreign tables, <literal>films</literal> and
<literal>distributors</literal>:

Pour supprimer deux tables distantes, <literal>films</literal> et
<literal>distributeurs</literal>:
<programlisting>
DROP FOREIGN TABLE films, distributors;
DROP FOREIGN TABLE films, distributeurs;
</programlisting>
Cette commande va échouer s'il existe des objets qui dépendent de <literal>films</literal>
ou <literal>distributeurs</literal>. Par exemple, si des contraintes sont liées à des
colonnes de <literal>films</literal>. Dans ce cas de figure, ajoutez l'option
cascade <literal>CASCADE</literal> pour forcer la suppression de ces objets.
</para>
</refsect1>

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

<para>
This command conforms to the ISO/IEC 9075-9 (SQL/MED), except that the
standard only allows one foreign table to be dropped per command, and apart
from the <literal>IF EXISTS</literal> option, which is a <productname>PostgreSQL</productname>
extension.
Cette commande est conforme avec le standard ISO/IEC 9075-9 (SQL/MED),
aux exceptions prêtes que ce standard n'accepte la suppression que d'une
table distante par commande, et de l'option <literal>IF EXISTS</literal>,
qui est une spécificité de <productname>PostgreSQL</productname>.
</para>
</refsect1>

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

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

0 comments on commit b67c971

Please sign in to comment.