| 1 |
<!-- |
|---|
| 2 |
$Header: /var/lib/cvs/pgsql-fr/sgml/ref/alter_aggregate.sgml,v 1.6.2.1 2005/03/14 06:03:00 guillaume Exp $ |
|---|
| 3 |
PostgreSQL documentation |
|---|
| 4 |
--> |
|---|
| 5 |
|
|---|
| 6 |
<refentry id="SQL-ALTERAGGREGATE"> |
|---|
| 7 |
<refmeta> |
|---|
| 8 |
<refentrytitle id="SQL-ALTERAGGREGATE-TITLE">ALTER AGGREGATE</refentrytitle> |
|---|
| 9 |
<refmiscinfo>SQL - Instructions du langage</refmiscinfo> |
|---|
| 10 |
</refmeta> |
|---|
| 11 |
|
|---|
| 12 |
<refnamediv> |
|---|
| 13 |
<refname>ALTER AGGREGATE</refname> |
|---|
| 14 |
<refpurpose>change la définition d'une fonction d'agrégat</refpurpose> |
|---|
| 15 |
</refnamediv> |
|---|
| 16 |
|
|---|
| 17 |
<indexterm zone="sql-alteraggregate"> |
|---|
| 18 |
<primary>ALTER AGGREGATE</primary> |
|---|
| 19 |
</indexterm> |
|---|
| 20 |
|
|---|
| 21 |
<refsynopsisdiv> |
|---|
| 22 |
<synopsis> |
|---|
| 23 |
ALTER AGGREGATE <replaceable>nom</replaceable> ( <replaceable>type</replaceable> ) RENAME TO <replaceable>nouveau nom</replaceable> |
|---|
| 24 |
</synopsis> |
|---|
| 25 |
</refsynopsisdiv> |
|---|
| 26 |
|
|---|
| 27 |
<refsect1> |
|---|
| 28 |
<title>Description</title> |
|---|
| 29 |
|
|---|
| 30 |
<para> |
|---|
| 31 |
<command>ALTER AGGREGATE</command> change la définition d'une fonction |
|---|
| 32 |
d'agrégat. La seule fonctionnalité disponible actuellement est de renommer |
|---|
| 33 |
la fonction d'agrégat. |
|---|
| 34 |
</para> |
|---|
| 35 |
</refsect1> |
|---|
| 36 |
|
|---|
| 37 |
<refsect1> |
|---|
| 38 |
<title>Paramètres</title> |
|---|
| 39 |
|
|---|
| 40 |
<variablelist> |
|---|
| 41 |
<varlistentry> |
|---|
| 42 |
<term><replaceable class="parameter">nom</replaceable></term> |
|---|
| 43 |
<listitem> |
|---|
| 44 |
<para> |
|---|
| 45 |
Le nom d'une fonction d'agrégat existante. |
|---|
| 46 |
</para> |
|---|
| 47 |
</listitem> |
|---|
| 48 |
</varlistentry> |
|---|
| 49 |
|
|---|
| 50 |
<varlistentry> |
|---|
| 51 |
<term><replaceable class="parameter">type</replaceable></term> |
|---|
| 52 |
<listitem> |
|---|
| 53 |
<para> |
|---|
| 54 |
L'argument de donnée type d'une fonction d'agrégat ou |
|---|
| 55 |
<literal>*</literal> si la fonction accepte divers données type. |
|---|
| 56 |
</para> |
|---|
| 57 |
</listitem> |
|---|
| 58 |
</varlistentry> |
|---|
| 59 |
|
|---|
| 60 |
<varlistentry> |
|---|
| 61 |
<term><replaceable class="parameter">nouveau nom</replaceable></term> |
|---|
| 62 |
<listitem> |
|---|
| 63 |
<para> |
|---|
| 64 |
Le nouveau nom de la fonction d'agrégat. |
|---|
| 65 |
</para> |
|---|
| 66 |
</listitem> |
|---|
| 67 |
</varlistentry> |
|---|
| 68 |
</variablelist> |
|---|
| 69 |
</refsect1> |
|---|
| 70 |
|
|---|
| 71 |
<refsect1> |
|---|
| 72 |
<title>Exemples</title> |
|---|
| 73 |
|
|---|
| 74 |
<para> |
|---|
| 75 |
Pour renommer la fonction d'agrégat <literal>mamoyenne</literal> de type |
|---|
| 76 |
<type>integer</type> en <literal>ma_moyenne</literal> : |
|---|
| 77 |
<programlisting> |
|---|
| 78 |
ALTER AGGREGATE mamoyenne(integer) RENAME TO ma_moyenne; |
|---|
| 79 |
</programlisting> |
|---|
| 80 |
</para> |
|---|
| 81 |
</refsect1> |
|---|
| 82 |
|
|---|
| 83 |
<refsect1> |
|---|
| 84 |
<title>Compatibilité</title> |
|---|
| 85 |
|
|---|
| 86 |
<para> |
|---|
| 87 |
Il n'y a pas de relation <command>ALTER AGGREGATE</command> dans le |
|---|
| 88 |
standard SQL. |
|---|
| 89 |
</para> |
|---|
| 90 |
</refsect1> |
|---|
| 91 |
|
|---|
| 92 |
<refsect1> |
|---|
| 93 |
<title>Voir aussi</title> |
|---|
| 94 |
|
|---|
| 95 |
<simplelist type="inline"> |
|---|
| 96 |
<member><xref linkend="sql-createaggregate" endterm="sql-createaggregate-title"></member> |
|---|
| 97 |
<member><xref linkend="sql-dropaggregate" endterm="sql-dropaggregate-title"></member> |
|---|
| 98 |
</simplelist> |
|---|
| 99 |
</refsect1> |
|---|
| 100 |
</refentry> |
|---|
| 101 |
|
|---|
| 102 |
<!-- Keep this comment at the end of the file |
|---|
| 103 |
Local variables: |
|---|
| 104 |
mode: sgml |
|---|
| 105 |
sgml-omittag:nil |
|---|
| 106 |
sgml-shorttag:t |
|---|
| 107 |
sgml-minimize-attributes:nil |
|---|
| 108 |
sgml-always-quote-attributes:t |
|---|
| 109 |
sgml-indent-step:1 |
|---|
| 110 |
sgml-indent-data:t |
|---|
| 111 |
sgml-parent-document:nil |
|---|
| 112 |
sgml-default-dtd-file:"../reference.ced" |
|---|
| 113 |
sgml-exposed-tags:nil |
|---|
| 114 |
sgml-local-catalogs:"/usr/lib/sgml/catalog" |
|---|
| 115 |
sgml-local-ecat-files:nil |
|---|
| 116 |
End: |
|---|
| 117 |
--> |
|---|