UNION result - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject UNION result
Date
Msg-id 20030115.130353.08320170.t-ishii@sra.co.jp
Whole thread Raw
Responses Re: UNION result  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: UNION result  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Re: UNION result  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-hackers
Does anybody know:

select 1.0 union select 1;
or
select 1 union select 1.0;

should return 1 or 1.0?

I see below on my Linux box:

test=# select 1 union select 1.0;?column? 
----------       1
(1 row)

test=# select 1.0 union select 1;?column? 
----------     1.0
(1 row)

This seems a little bit inconsistent...
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Justin Clift
Date:
Subject: Anyone want to get involved in writing the the driver to connect Star/OpenOffice and PostgreSQL?
Next
From: Bruce Momjian
Date:
Subject: Re: UNION result