ALL, ANY bug?

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: ALL, ANY bug?
Date: 2001-01-08 01:32:09
Message-ID: 20010108103209Y.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

It seems ALL and ANY (SOME) have problems with the parser.

test=# select * from t1 where i <> all(0,1);
ERROR: parser: parse error at or near "0"
test=# select * from t1 where i = any (0,1);
ERROR: parser: parse error at or near "0"
test=# select version();
version
------------------------------------------------------------------------
PostgreSQL 7.1beta2 on i686-pc-linux-gnu, compiled by GCC egcs-2.91.66
(1 row)

Note that if (0,1) is a subselect, it works fine.
--
Tatsuo Ishii

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Manuel Cabido 2001-01-08 01:32:46 Re: A post-7.1 wish-list.
Previous Message Tom Lane 2001-01-08 01:09:07 Re: patch: contrib/pgcrypto sanity