Re: parse error: LIMIT combined with UNION

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: parse error: LIMIT combined with UNION
Дата
Msg-id 3662.999804294@sss.pgh.pa.us
обсуждение исходный текст
Ответ на parse error: LIMIT combined with UNION  (Steve Pothier <STEVEN.POTHIER@saic.com>)
Ответы Re: parse error: LIMIT combined with UNION
Список pgsql-bugs
Steve Pothier <STEVEN.POTHIER@saic.com> writes:
>   PostgreSQL version (example: PostgreSQL-6.5.1):   PosegreSQL 7.1

> hbase=# SELECT * FROM subject WHERE subject_id LIKE '0009%' UNION (SELECT * FROM subject WHERE subject_id LIKE
'0008%'LIMIT 5); 
> ERROR:  parser: parse error at or near "limit"

Are you sure that's actually 7.1, and not some beta release?  The
command parses fine for me in current sources and in 7.1.3.  AFAICT,
the last time anyone changed LIMIT/sub-SELECT parsing was 2001-01-15,
which would have been post 7.1-beta3.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Conditional NOTIFY is not implemented
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: upper() don't work with field-alias in the order by part