type
- The type of an existing aggregate function.
+ The input datatype of an existing aggregate function,
+ or * if the function accepts any input type.
(Refer to the PostgreSQL User's Guide for
further information about data types.)
This should become a cross-reference rather than a
1999-07-20
-DROP OPERATOR id ( type | NONE [,...] )
+DROP OPERATOR id ( lefttype | NONE , righttype | NONE )
- type
+ lefttype
- The type of function parameters.
+ The type of the operator's left argument; write NONE if the
+ operator has no left argument.
+
+
+
+
+ righttype
+
+ The type of the operator's right argument; write NONE if the
+ operator has no right argument.
The left or right type of a left or right unary
- operator, respectively, may be specified as NONE.
+ operator, respectively, must be specified as NONE.
- Remove left unary negation operator (b !) for booleans:
+ Remove left unary negation operator (! b) for booleans:
DROP OPERATOR ! (none, bool);
- Remove right unary factorial operator (! i) for
+ Remove right unary factorial operator (i !) for
int4:
DROP OPERATOR ! (int4, none);
EMP, and retrieves multiple results:
-CREATE FUNCTION hobbies (EMP) RETURNS SET OF hobbies
+CREATE FUNCTION hobbies (EMP) RETURNS SETOF hobbies
AS 'SELECT hobbies.* FROM hobbies
WHERE $1.name = hobbies.person'
LANGUAGE 'sql';