We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent0b336fb commit1821ef1Copy full SHA for 1821ef1
doc/src/sgml/ref/create_function.sgml
@@ -565,12 +565,13 @@ CREATE FUNCTION foo(int, int default 42) ...
565
566
<para>
567
The full <acronym>SQL</acronym> type syntax is allowed for
568
- input arguments and return value. However, some details of the
569
- type specification (e.g., the precision field for
570
- type <type>numeric</type>) are the responsibility of the
571
- underlying function implementation and are silently swallowed
572
- (i.e., not recognized or
573
- enforced) by the <command>CREATE FUNCTION</command> command.
+ declaring a function's arguments and return value. However,
+ parenthesized type modifiers (e.g., the precision field for
+ type <type>numeric</type>) are discarded by <command>CREATE FUNCTION</>.
+ Thus for example
+ <literal>CREATE FUNCTION foo (varchar(10)) ...</>
+ is exactly the same as
574
+ <literal>CREATE FUNCTION foo (varchar) ...</>.
575
</para>
576
577