Re: [BUGS] Re: Re: [SQL] MAX() of 0 records.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Re: Re: [SQL] MAX() of 0 records.
Дата
Msg-id 11091.962993554@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] Re: Re: [SQL] MAX() of 0 records.  ("Robert B. Easter" <reaster@comptechnews.com>)
Список pgsql-hackers
"Robert B. Easter" <reaster@comptechnews.com> writes:
> If you use min(x) or max(x) frequently, isn't it best to make a
> trigger that intercepts x on insert and update, then check it and
> store it somewhere rather than scanning for it everytime?

I believe that's exactly what the original questioner is trying to do...
        regards, tom lane


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