Re: LIMIT and JOINS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: LIMIT and JOINS
Date
Msg-id 12213.1140623726@sss.pgh.pa.us
Whole thread Raw
In response to LIMIT and JOINS  ("Gregor Zeitlinger" <gregor.zeitlinger@torexretail.de>)
List pgsql-hackers
"Gregor Zeitlinger" <gregor.zeitlinger@torexretail.de> writes:
> select * from T1 join T2 on T1.id =3D T2.id LIMIT 1
>
> Conceptually, it should be possible to fetch one row from T1 and T2, =
> i.e. to propagate the LIMIT clause.
>
> I was wondering what the exact requirements are to propagate the LIMIT =
> clause.

Indexes would help ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Gregor Zeitlinger"
Date:
Subject: LIMIT and JOINS
Next
From: Andrew Dunstan
Date:
Subject: Re: windows / initdb oddness