Re: [HACKERS] WHERE vs HAVING

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] WHERE vs HAVING
Дата
Msg-id 199907070340.XAA02805@candle.pha.pa.us
обсуждение исходный текст
Ответ на WHERE vs HAVING  (jwieck@debis.com (Jan Wieck))
Список pgsql-hackers
>     Planner guru's please!
> 
>     I  wonder  what makes the difference between WHERE and HAVING
>     that causes HAVING to accept aggregates while WHERE  doesn't.
>     It  would  be  extremely nice if it's possible to teach WHERE
>     how to handle aggregates properly. Having to push  them  into
>     subselects during rewrite if a views aggregate column appears
>     in the WHERE clause is a total mess.

SQL requires the restriction.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Bug tracking
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] 6.5 cvs: views doesn't survives after pg_dump