[GENERAL] Problems with Greatest

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема [GENERAL] Problems with Greatest
Дата
Msg-id CAKFQuwYtgjPV49wY6o0vYX0wbo09aOp13vD7oSNCmYXS0BaMXw@mail.gmail.com
обсуждение исходный текст
Ответ на [GENERAL] Problems with Greatest  (Teddy Schmitz <teddy.schmitz@actuallywedo.com>)
Ответы Re: [GENERAL] Problems with Greatest  (Teddy Schmitz <teddy.schmitz@actuallywedo.com>)
Список pgsql-general
On Wednesday, February 15, 2017, Teddy Schmitz <teddy.schmitz@actuallywedo.com> wrote:

select greatest(max(t1.id), max(t2.id)) from t1, t2;

I seriously doubt that the greatest function is a larger contributor to run time than the cross join between t1 and t2.

David J. 

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [GENERAL] Problems with Greatest
Следующее
От: Teddy Schmitz
Дата:
Сообщение: Re: [GENERAL] Problems with Greatest