public inbox for [email protected]
help / color / mirror / Atom feedFrom: PG Doc comments form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Describe UNION's cast on derived table
Date: Tue, 09 Jan 2018 13:05:42 +0000
Message-ID: <[email protected]> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/10/static/typeconv-union-case.html
Description:
Hi!
Whilst the type conversion works great on the query ;select 10 as col1 union
select null as col1;, it does not on the almost same one ;select col1 from
(select 10 as col1) t1 union select col1 from (select null as col1) t2;,
giving the error "UNION types integer and text cannot be matched". I'm using
a 64-bit PostgreSQL 10.1 on linux.
Please, describe this situation better on the docs. Thank you so much.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Describe UNION's cast on derived table
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox