subselect bug?

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: subselect bug?
Date: 2001-01-15 13:04:24
Message-ID: 20010115220424A.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While below is ok:

select * from table_a a
where (select data_a from table_a where id = a.id) >
(select data_b from table_a where id = a.id);

but this fails:

select * from table_a a
where ((select data_a from table_a where id = a.id) >
(select data_b from table_a where id = a.id));

ERROR: parser: parse error at or near ">"

Does anybody know why?
--
Tatsuo Ishii

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Momo Mordacz 2001-01-15 13:26:48 who can design or recomend Database
Previous Message Tatsuo Ishii 2001-01-15 12:58:05 Re: PostgreSQL 7.0.2 with thai locale.