Re: Superfluous merge/sort - Mailing list pgsql-performance

From Anuradha Ratnaweera
Subject Re: Superfluous merge/sort
Date
Msg-id 20030226045728.GA12881@aratnaweera.virtusa.com
Whole thread Raw
In response to Re: Superfluous merge/sort  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Responses Re: Superfluous merge/sort  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-performance
On Tue, Feb 25, 2003 at 07:56:14AM -0800, Stephan Szabo wrote:
>
> On Tue, 25 Feb 2003, Anuradha Ratnaweera wrote:
>
> > Question in brief: does the planner/optimizer take into account the
> > foreign key constraints?
> >
> > If the answer is "no", please stop reading here.
>
> Not really.  However, as a note, from t1,t2 where t1.id=t2.id is not
> necessarily an identity even with the foreign key due to NULLs.

"not null" doesn't make a difference, either :-(

    Anuradha

--

Debian GNU/Linux (kernel 2.4.21-pre4)

It's not Camelot, but it's not Cleveland, either.
        -- Kevin White, Mayor of Boston


pgsql-performance by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: Faster 'select count(*) from table' ?
Next
From: Stephan Szabo
Date:
Subject: Re: Superfluous merge/sort