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

From Stephan Szabo
Subject Re: Superfluous merge/sort
Date
Msg-id 20030225075139.V57635-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Superfluous merge/sort  (Anuradha Ratnaweera <ARatnaweera@virtusa.com>)
Responses Re: Superfluous merge/sort  (Anuradha Ratnaweera <ARatnaweera@virtusa.com>)
List pgsql-performance
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.


pgsql-performance by date:

Previous
From: Robert Treat
Date:
Subject: Re: slow query
Next
From: Tom Lane
Date:
Subject: Re: slow query