From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PGSQL General <pgsql-general(at)postgresql(dot)org>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] ERROR: failed to find conversion function from "unknown" to text |
Date: | 2009-01-06 22:13:41 |
Message-ID: | 20090106221340.GA25467@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Tue, Jan 06, 2009 at 11:13:59PM +0530, Gurjeet Singh wrote:
> If we consider the second branch of UNION ALL of both the queries above, if
> "select '' " yields a text column, then so should a "select * from (select
> '')".
The problem is ofcourse that "select ''" doesn't produce a text column
in postgres. This generally works fine, except in the case of UNION
where none of the branches provide the necessary type info.
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2009-01-06 23:16:00 | Re: Vacuum problems |
Previous Message | Dan Armbrust | 2009-01-06 21:44:59 | Re: Slow Vacuum was: vacuum output question |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-01-06 22:30:11 | Re: hist boundary duplicates bug in head and 8.3 |
Previous Message | Tom Lane | 2009-01-06 21:40:58 | Re: dblink vs SQL/MED - security and implementation details |