subselect bug? - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject subselect bug?
Date
Msg-id 20010115220424A.t-ishii@sra.co.jp
Whole thread Raw
Responses Re: subselect bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: subselect bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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
whereid = 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
whereid = a.id));
 

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

Does anybody know why?
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: PostgreSQL 7.0.2 with thai locale.
Next
From: Tom Lane
Date:
Subject: Re: subselect bug?