Re: ALL, ANY bug?

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: ALL, ANY bug?
Дата
Msg-id 20010108160403W.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: ALL, ANY bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ALL, ANY bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
You are right. However, SQL92 spec allows:

select * from t1 where i <> all values(0,1);

which is not allowed in PostgreSQL...
--
Tatsuo Ishii

> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > It seems ALL and ANY (SOME) have problems with the parser.
> 
> I see no problem here.  Those are only defined for sub-selects.
> SQL92 8.7 says:
> 
>          <quantified comparison predicate> ::=
>               <row value constructor> <comp op> <quantifier> <table subquery>
> 
>          <quantifier> ::= <all> | <some>
> 
>          <all> ::= ALL
> 
>          <some> ::= SOME | ANY
> 
> and that is the only appearance of ANY in the grammar ...
> 
>             regards, tom lane


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

Предыдущее
От: Denis Perchine
Дата:
Сообщение: Re: Quite strange crash
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: patch: contrib/pgcrypto sanity