Re: why does this select hang postgres???

From: Jeremy Hansen <jeremy(at)xxedgexx(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: why does this select hang postgres???
Date: 2001-08-10 18:38:32
Message-ID: Pine.LNX.4.30.0108101438070.20351-100000@srv1.ecropolis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 10 Aug 2001, Bruce Momjian wrote:

> >
> > select * from env_info,summary,plat_info;
> >
> > Is my statement broken? Is this not legal? Postgres just sits there....
> >
> > My goal is to select everything from multiple tables with one sql
> > statement.
>
> You didn't join the tables. This will join each row to every other row.
> This will take a long time.

Any tips on this syntax? I'll go look at joins right now I guess :-)

-jeremy

--
salad.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2001-08-10 18:38:54 Re: why does this select hang postgres???
Previous Message Mike Mascari 2001-08-10 18:37:51 Re: why does this select hang postgres???