Re: [HACKERS] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison
Дата
Msg-id 12367.939161130@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison
Список pgsql-hackers
Bruce Momjian <maillist@candle.pha.pa.us> writes:
>> However, I can't see anything in the SQL92 spec that requires you to
>> use HAVING intelligently, so maybe this error should be downgraded to
>> a notice?  "HAVING with no aggregates would be faster as a WHERE"
>> (but we'll do it anyway to satisfy pedants...)

> If we allow them, then people can do things like:
>     HAVING max(a) > b

Er ... what's wrong with that?  Assuming b is a group by column,
of course...
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] psql Week 1
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison