@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_extension.sgml
3
3
PostgreSQL documentation
4
4
-->
5
5
6
- <refentry id="SQL-ALTEREXTENSION ">
6
+ <refentry id="sql-alterextension ">
7
7
<!--==========================orignal english content==========================
8
8
<indexterm zone="sql-alterextension">
9
9
<primary>ALTER EXTENSION</primary>
@@ -66,6 +66,8 @@ ALTER EXTENSION <replaceable class="parameter">name</replaceable> DROP <replacea
66
66
OPERATOR CLASS <replaceable class="parameter">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> |
67
67
OPERATOR FAMILY <replaceable class="parameter">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> |
68
68
[ PROCEDURAL ] LANGUAGE <replaceable class="parameter">object_name</replaceable> |
69
+ PROCEDURE <replaceable class="parameter">procedure_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] |
70
+ ROUTINE <replaceable class="parameter">routine_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] |
69
71
SCHEMA <replaceable class="parameter">object_name</replaceable> |
70
72
SEQUENCE <replaceable class="parameter">object_name</replaceable> |
71
73
SERVER <replaceable class="parameter">object_name</replaceable> |
@@ -108,6 +110,8 @@ ALTER EXTENSION <replaceable class="parameter">name</replaceable> DROP <replacea
108
110
OPERATOR CLASS <replaceable class="parameter">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> |
109
111
OPERATOR FAMILY <replaceable class="parameter">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> |
110
112
[ PROCEDURAL ] LANGUAGE <replaceable class="parameter">object_name</replaceable> |
113
+ PROCEDURE <replaceable class="parameter">procedure_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] |
114
+ ROUTINE <replaceable class="parameter">routine_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] |
111
115
SCHEMA <replaceable class="parameter">object_name</replaceable> |
112
116
SEQUENCE <replaceable class="parameter">object_name</replaceable> |
113
117
SERVER <replaceable class="parameter">object_name</replaceable> |
@@ -297,12 +301,14 @@ ____________________________________________________________________________-->
297
301
<term><replaceable class="parameter">aggregate_name</replaceable></term>
298
302
<term><replaceable class="parameter">function_name</replaceable></term>
299
303
<term><replaceable class="parameter">operator_name</replaceable></term>
304
+ <term><replaceable class="parameter">procedure_name</replaceable></term>
305
+ <term><replaceable class="parameter">routine_name</replaceable></term>
300
306
<listitem>
301
307
<para>
302
308
The name of an object to be added to or removed from the extension.
303
309
Names of tables,
304
310
aggregates, domains, foreign tables, functions, operators,
305
- operator classes, operator families, sequences, text search objects,
311
+ operator classes, operator families, procedures, routines, sequences, text search objects,
306
312
types, and views can be schema-qualified.
307
313
</para>
308
314
</listitem>
@@ -331,15 +337,15 @@ ____________________________________________________________________________-->
331
337
332
338
<listitem>
333
339
<para>
334
- The mode of a function or aggregate
335
- argument: <literal>IN</>, <literal>OUT</>,
336
- <literal>INOUT</>, or <literal>VARIADIC</>.
337
- If omitted, the default is <literal>IN</>.
340
+ The mode of a function, procedure, or aggregate
341
+ argument: <literal>IN</literal >, <literal>OUT</literal >,
342
+ <literal>INOUT</literal >, or <literal>VARIADIC</literal >.
343
+ If omitted, the default is <literal>IN</literal >.
338
344
Note that <command>ALTER EXTENSION</command> does not actually pay
339
- any attention to <literal>OUT</> arguments, since only the input
345
+ any attention to <literal>OUT</literal > arguments, since only the input
340
346
arguments are needed to determine the function's identity.
341
- So it is sufficient to list the <literal>IN</>, <literal>INOUT</>,
342
- and <literal>VARIADIC</> arguments.
347
+ So it is sufficient to list the <literal>IN</literal >, <literal>INOUT</literal >,
348
+ and <literal>VARIADIC</literal > arguments.
343
349
</para>
344
350
</listitem>
345
351
</varlistentry>
@@ -349,7 +355,7 @@ ____________________________________________________________________________-->
349
355
350
356
<listitem>
351
357
<para>
352
- The name of a function or aggregate argument.
358
+ The name of a function, procedure, or aggregate argument.
353
359
Note that <command>ALTER EXTENSION</command> does not actually pay
354
360
any attention to argument names, since only the argument data
355
361
types are needed to determine the function's identity.
@@ -362,7 +368,7 @@ ____________________________________________________________________________-->
362
368
363
369
<listitem>
364
370
<para>
365
- The data type of a function or aggregate argument.
371
+ The data type of a function, procedure, or aggregate argument.
366
372
</para>
367
373
</listitem>
368
374
</varlistentry>
@@ -447,10 +453,12 @@ ____________________________________________________________________________-->
447
453
<term><replaceable class="parameter">aggregate_name</replaceable></term>
448
454
<term><replaceable class="parameter">function_name</replaceable></term>
449
455
<term><replaceable class="parameter">operator_name</replaceable></term>
456
+ <term><replaceable class="parameter">procedure_name</replaceable></term>
457
+ <term><replaceable class="parameter">routine_name</replaceable></term>
450
458
<listitem>
451
459
<para>
452
460
要从该扩展增加或者移除的对象的名称。表、聚集、域、外部表、函数、
453
- 操作符、操作符类、操作符族、序列、文本搜索对象、类型和视图的名称
461
+ 操作符、操作符类、操作符族、过程、例程、 序列、文本搜索对象、类型和视图的名称
454
462
可以被模式限定。
455
463
</para>
456
464
</listitem>
@@ -479,7 +487,7 @@ ____________________________________________________________________________-->
479
487
480
488
<listitem>
481
489
<para>
482
- 一个函数或聚集参数的模式 :<literal>IN</literal>、<literal>OUT</literal>、
490
+ 一个函数、过程或者聚集参数的模式 :<literal>IN</literal>、<literal>OUT</literal>、
483
491
<literal>INOUT</literal>或者<literal>VARIADIC</literal>。如果被忽略,默认值是
484
492
<literal>IN</literal>。注意,<command>ALTER EXTENSION</command>
485
493
并不真正关心<literal>OUT</literal>参数,因为决定该函数的身份时只需要输入
@@ -494,7 +502,7 @@ ____________________________________________________________________________-->
494
502
495
503
<listitem>
496
504
<para>
497
- 一个函数或者聚集参数的名称 。注意,
505
+ 一个函数、过程或者聚集参数的名称 。注意,
498
506
<command>ALTER EXTENSION</command>并不真正关心参数名称,因为
499
507
决定该函数的身份时只需要参数的数据类型。
500
508
</para>
@@ -506,7 +514,7 @@ ____________________________________________________________________________-->
506
514
507
515
<listitem>
508
516
<para>
509
- 一个函数或聚集参数的数据类型 。
517
+ 一个函数、过程或者或聚集参数的数据类型 。
510
518
</para>
511
519
</listitem>
512
520
</varlistentry>
@@ -624,7 +632,7 @@ ____________________________________________________________________________-->
624
632
</para>
625
633
</refsect1>
626
634
627
- <refsect1 id="SQL-ALTEREXTENSION -see-also">
635
+ <refsect1 id="sql-alterextension -see-also">
628
636
<!--==========================orignal english content==========================
629
637
<title>See Also</title>
630
638
____________________________________________________________________________-->
0 commit comments