"Kevin Grittner" <kevin.gritt...@wicourts.gov> wrote:
 
> test=# select val from (select 'a' = 'a') as val;
>  val
> -----
>  (t)
> (1 row)
 
Also note the difference between a record and a scalar here.  I
forgot to write it to return val as a scalar, which seems to be what
you're after.  It should have been:
 
test=# select val from (select 'a' = 'a') as x(val);
 val
-----
 t
(1 row)
 
-Kevin

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to