Re: Select Statements freeze. - Mailing list pgsql-bugs

From Stephan Szabo
Subject Re: Select Statements freeze.
Date
Msg-id 20030425105225.N21596-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Select Statements freeze.  ("Axel Spallek" <Axel@Spallek.ws>)
List pgsql-bugs
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.

pgsql-bugs by date:

Previous
From: bmp@ipath.net.in
Date:
Subject: Primary key violation
Next
From: Oliver Elphick
Date:
Subject: Re: BUG: Infinite syslog() loop