On Thu, 24 Apr 2003, Axel Spallek wrote:
> Hi.
> With the following you can sometimes kill (but always slow down) the psql-Server.
>
> select
> table1.a,
> table1.b
> from table2;
>
> I had that problem with this one:
>
> CREATE VIEW akdsummon AS
>
> SELECT
>
> akdsummonpre.kundennr,
>
> (sum(akdsummonpre.SummeGGRKR))::numeric(9,2) as UmsSum,
>
> akdsummonpre.mmon,
>
> akdsummonpre.myear
>
> FROM auftraege
>
> GROUP BY akdsummonpre.kundennr,
>
> akdsummonpre.mmon,
>
> akdsummonpre.myear
>
> ;
Postgresql has an extension which tries to treat this as
from auftraege, akdsummonpre with no join condition.