Re: range_agg

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: range_agg
Дата
Msg-id 20200405221313.GA22266@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: range_agg  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: range_agg
Список pgsql-hackers
v17 is a rebase fixing a minor parse_coerce.c edit; v16 lasted little
:-(  I chose to change the wording of the conflicting comment in
enforce_generic_type_consistency():

 * 3) Similarly, if return type is ANYRANGE or ANYMULTIRANGE, and any
 *      argument is ANYRANGE or ANYMULTIRANGE, use that argument's
 *      actual type, range type or multirange type as the function's return
 *      type.

This wording is less precise, in that it doesn't say exactly which of
the three types is the actual result for each of the possible four cases
(r->r, r->m, m->m, m->r) but I think it should be straightforward.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Add A Glossary
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: range_agg