diff options
| author | Tom Lane | 2008-01-11 18:39:41 +0000 |
|---|---|---|
| committer | Tom Lane | 2008-01-11 18:39:41 +0000 |
| commit | 89c0a87fda06aade58831976c9dbc97134032d18 (patch) | |
| tree | df2e897b30dc3b65597a34820ce87af3e101b227 /src/include/parser | |
| parent | df62977d0080e9e437c74f456d96318e8e0a56ee (diff) | |
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.
Diffstat (limited to 'src/include/parser')
| -rw-r--r-- | src/include/parser/parse_coerce.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/parser/parse_coerce.h b/src/include/parser/parse_coerce.h index c5b2b48ec3b..ab36a0c1969 100644 --- a/src/include/parser/parse_coerce.h +++ b/src/include/parser/parse_coerce.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/parser/parse_coerce.h,v 1.74 2008/01/01 19:45:58 momjian Exp $ + * $PostgreSQL: pgsql/src/include/parser/parse_coerce.h,v 1.75 2008/01/11 18:39:41 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -81,7 +81,8 @@ extern bool check_generic_type_consistency(Oid *actual_arg_types, extern Oid enforce_generic_type_consistency(Oid *actual_arg_types, Oid *declared_arg_types, int nargs, - Oid rettype); + Oid rettype, + bool allow_poly); extern Oid resolve_generic_type(Oid declared_type, Oid context_actual_type, Oid context_declared_type); |
