Re: LIMIT and JOINS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LIMIT and JOINS
Дата
Msg-id 12213.1140623726@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LIMIT and JOINS  ("Gregor Zeitlinger" <gregor.zeitlinger@torexretail.de>)
Список 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 по дате отправления:

Предыдущее
От: "Gregor Zeitlinger"
Дата:
Сообщение: LIMIT and JOINS
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: windows / initdb oddness