File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -484,12 +484,13 @@ CREATE [ OR REPLACE ] FUNCTION
484
484
485
485
<para>
486
486
The full <acronym>SQL</acronym> type syntax is allowed for
487
- input arguments and return value. However, some details of the
488
- type specification (e.g., the precision field for
489
- type <type>numeric</type>) are the responsibility of the
490
- underlying function implementation and are silently swallowed
491
- (i.e., not recognized or
492
- enforced) by the <command>CREATE FUNCTION</command> command.
487
+ declaring a function's arguments and return value. However,
488
+ parenthesized type modifiers (e.g., the precision field for
489
+ type <type>numeric</type>) are discarded by <command>CREATE FUNCTION</>.
490
+ Thus for example
491
+ <literal>CREATE FUNCTION foo (varchar(10)) ...</>
492
+ is exactly the same as
493
+ <literal>CREATE FUNCTION foo (varchar) ...</>.
493
494
</para>
494
495
495
496
<para>
You can’t perform that action at this time.
0 commit comments