Re: subquery results bypassed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: subquery results bypassed
Дата
Msg-id 4426.996551447@sss.pgh.pa.us
обсуждение исходный текст
Ответ на subquery results bypassed  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> [ SELECT DISTINCT ON in a subquery-in-FROM misbehaves ]

Oooh, good catch!  I had thought about pushing down quals into a SELECT
DISTINCT, and concluded it was OK because the qual would eliminate all
or none of a set of not-DISTINCT rows.  But I forgot about DISTINCT ON
:-(.

Will have a source patch for this tomorrow, if that helps.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: subquery results bypassed
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: 'order by' and 'desc' not working in subquery using 'not in'