File tree 1 file changed +7
-6
lines changed 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -579,12 +579,13 @@ CREATE FUNCTION foo(int, int default 42) ...
579
579
580
580
<para>
581
581
The full <acronym>SQL</acronym> type syntax is allowed for
582
- input arguments and return value. However, some details of the
583
- type specification (e.g., the precision field for
584
- type <type>numeric</type>) are the responsibility of the
585
- underlying function implementation and are silently swallowed
586
- (i.e., not recognized or
587
- enforced) by the <command>CREATE FUNCTION</command> command.
582
+ declaring a function's arguments and return value. However,
583
+ parenthesized type modifiers (e.g., the precision field for
584
+ type <type>numeric</type>) are discarded by <command>CREATE FUNCTION</>.
585
+ Thus for example
586
+ <literal>CREATE FUNCTION foo (varchar(10)) ...</>
587
+ is exactly the same as
588
+ <literal>CREATE FUNCTION foo (varchar) ...</>.
588
589
</para>
589
590
590
591
<para>
You can’t perform that action at this time.
0 commit comments