Re: [HACKERS] LIMIT and UNION

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] LIMIT and UNION
Дата
Msg-id 16150.931019086@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LIMIT and UNION  (Chris Bitmead <chris@tech.com.au>)
Список pgsql-hackers
Chris Bitmead <chris@tech.com.au> writes:
> Is it a known problem that LIMIT doesn't work with UNION, or have I
> discovered a bug?

Not sure, but I think the LIMIT would be parsed as an attribute of
one or the other of the sub-selects, not as a limit on the total
result size.  This is probably not the behavior you want :-(
        regards, tom lane


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

Предыдущее
От: Michael Robinson
Дата:
Сообщение: Re: [HACKERS] regression bigtest needs very long time
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] LIMIT and UNION