Re: Any was to prevent a join if no columns are selected from a view?

From: Jason Long <mailing(dot)lists(at)octgsoftware(dot)com>
To: Ben Chobot <bench(at)silentmedia(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Any was to prevent a join if no columns are selected from a view?
Date: 2011-09-30 14:55:23
Message-ID: 1317394525.2348.35.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2011-09-29 at 22:54 -0600, Ben Chobot wrote:
> On Sep 29, 2011, at 4:57 PM, Jason Long wrote:
>
>
>
> > I thought I had read somewhere that Postges could ignore a join if
> > it
> > was not necessary because there were no columns from the table or
> > view
> > selected in the query. Is this possible?
>
>
>
> This sounds like incorrect logic to me, so I would be surprised if it
> was possible.

That is the way it is looking. I just modified my application to
generate the join manually.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2011-09-30 15:41:27 Re: stored procs
Previous Message Ovnicraft 2011-09-30 14:37:51 Re: postgres for OLAP & data mining