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

Revision 13, 2.8 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/alter_function.sgml,v 1.6.2.1 2005/03/14 06:03:01 guillaume Exp $
3 PostgreSQL documentation
4 -->
5
6 <refentry id="SQL-ALTERFUNCTION">
7  <refmeta>
8   <refentrytitle id="SQL-ALTERFUNCTION-TITLE">ALTER FUNCTION</refentrytitle>
9   <refmiscinfo>SQL - Instructions du langage</refmiscinfo>
10  </refmeta>
11
12  <refnamediv>
13   <refname>ALTER FUNCTION</refname>
14   <refpurpose>change la définition d'une fonction</refpurpose>
15  </refnamediv> 
16  
17  <indexterm zone="sql-alterfunction">
18   <primary>ALTER FUNCTION</primary>
19  </indexterm>
20
21  <refsynopsisdiv>
22 <synopsis>
23 ALTER FUNCTION <replaceable>nom</replaceable> ( [ <replaceable
24 class="parameter">type</replaceable> [, ...] ] ) RENAME TO <replaceable>nouveau
25 nom</replaceable>
26 </synopsis>
27  </refsynopsisdiv>
28  
29  <refsect1>
30   <title>Description</title>
31
32   <para>
33    <command>ALTER FUNCTION</command> change la définition d'une fonction
34    La seule fonctionnalité est de renommer la fonction.
35   </para>
36  </refsect1>
37  
38  <refsect1>
39   <title>Paramètres</title>
40
41   <variablelist>
42    <varlistentry>
43     <term><replaceable class="parameter">nom</replaceable></term>
44     <listitem>
45      <para>
46       Le nom d'une fonction existante.
47      </para>
48     </listitem>
49    </varlistentry>
50
51    <varlistentry>
52     <term><replaceable class="parameter">type</replaceable></term>
53     <listitem>
54      <para>
55       Le type de donnée d'un argument de la fonction.
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.
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 <literal>sqrt</literal> de type
76    <type>integer</type> en <literal>square_root</literal>&nbsp;:
77 <programlisting>
78 ALTER FUNCTION sqrt(integer) RENAME TO square_root;
79 </programlisting>
80   </para>
81  </refsect1>
82
83  <refsect1>
84   <title>Compatibilité</title>
85
86   <para>
87    Il existe une relation <command>ALTER FUNCTION</command> en SQL standard,
88    mais il ne fournit pas l'option de renomage de la fonction.
89   </para>
90  </refsect1>
91
92  <refsect1>
93   <title>Voir aussi</title>
94
95   <simplelist type="inline">
96    <member><xref linkend="sql-createfunction" endterm="sql-createfunction-title"></member>
97    <member><xref linkend="sql-dropfunction" endterm="sql-dropfunction-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 -->
Note: See TracBrowser for help on using the browser.