postgresql/src/include/parser
Tom Lane 3651a3e6fb Support the syntax
CREATE AGGREGATE aggname (input_type) (parameter_list)
along with the old syntax where the input type was named in the parameter
list.  This fits more naturally with the way that the aggregate is identified
in DROP AGGREGATE and other utility commands; furthermore it has a natural
extension to handle multiple-input aggregates, where the basetype-parameter
method would get ugly.  In fact, this commit fixes the grammar and all the
utility commands to support multiple-input aggregates; but DefineAggregate
rejects it because the executor isn't fixed yet.
I didn't do anything about treating agg(*) as a zero-input aggregate instead
of artificially making it a one-input aggregate, but that should be considered
in combination with supporting multi-input aggregates.
2006-04-15 17:45:46 +00:00
..
analyze.h Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
gramparse.h Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
keywords.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
parse_agg.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
parse_clause.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
parse_coerce.h Fix a bunch of problems with domains by making them use special input functions 2006-04-05 22:11:58 +00:00
parse_expr.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
parse_func.h Support the syntax 2006-04-15 17:45:46 +00:00
parse_node.h Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
parse_oper.h Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
parse_relation.h Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
parse_target.h Add error location info to ResTarget parse nodes. Allows error cursor to be supplied 2006-03-23 00:19:30 +00:00
parse_type.h Improve parser so that we can show an error cursor position for errors 2006-03-14 22:48:25 +00:00
parser.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
parsetree.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
scansup.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00