From: yuanchongwei007@163.com
To: pgsql-bugs@postgresql.org
Subject: BUG #12625: operation 'union' confirms the type of the column with 2 unknown types.
Date: Thu, 22 Jan 2015 05:02:30 +0000
Message-ID: <20150122050230.32673.52053@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 12625
Logged by: Chongwei Yuan
Email address: yuanchongwei007@163.com
PostgreSQL version: 9.3.5
Operating system: Ubuntu 14.04.1 LTS
Description:
1. exce sql [ select 'abc' as col ] ; result : column 'col' has unknow
type.
2. exce sql [ select 'def' as col ] ; result : column 'col' has unknow
type.
But
3. exce sql [ select 'abc' as col union select 'def' as col ] ; result :
colum 'col' has text type.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: yuanchongwei007@163.com
Subject: Re: BUG #12625: operation 'union' confirms the type of the column with 2 unknown types.
In-Reply-To: <20150122050230.32673.52053@wrigleys.postgresql.org>
References: <20150122050230.32673.52053@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox