Re: [BUGS] BUG #3852: Could not create complex aggregate

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #3852: Could not create complex aggregate
Дата
Msg-id 23148.1200077023@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #3852: Could not create complex aggregate  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> Tom Lane wrote:
>> I think we could make enforce_generic_type_consistency() clearer by
>> adding an additional argument "bool allow_poly" which specifies
>> whether polymorphic "actual" argument and result types are allowed.

> This sounds like a reasonable plan to me.

>> Although this problem really goes quite far back, I think it's probably
>> not interesting to back-patch further than 8.2, because AFAICS the
>> interesting cases involve aggregates with more than one argument.

> I agree, especially since this is the first time anyone has complained.

I've applied a patch along these lines, although I desisted from
back-patching it.  It seems a bit like a new feature, and also I'm not
100% sure we have all the bases covered even yet.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Dynamic Partitioning using Segment Visibility Maps
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: proposed libpq type system changes 0.9