The original implementation of polymorphic aggregates didn't really get the
authorTom Lane <[email protected]>
Fri, 11 Jan 2008 18:39:41 +0000 (18:39 +0000)
committerTom Lane <[email protected]>
Fri, 11 Jan 2008 18:39:41 +0000 (18:39 +0000)
commit89c0a87fda06aade58831976c9dbc97134032d18
treedf2e897b30dc3b65597a34820ce87af3e101b227
parentdf62977d0080e9e437c74f456d96318e8e0a56ee
The original implementation of polymorphic aggregates didn't really get the
checking of argument compatibility right; although the problem is only exposed
with multiple-input aggregates in which some arguments are polymorphic and
some are not.  Per bug #3852 from Sokolov Yura.
src/backend/catalog/pg_aggregate.c
src/backend/executor/nodeAgg.c
src/backend/optimizer/util/clauses.c
src/backend/parser/parse_coerce.c
src/backend/parser/parse_func.c
src/backend/parser/parse_oper.c
src/include/parser/parse_coerce.h
src/test/regress/expected/polymorphism.out
src/test/regress/sql/polymorphism.sql