Re: BUG #11304: UNION query with NULL values fails - Mailing list pgsql-bugs

From Wöhling, Markus
Subject Re: BUG #11304: UNION query with NULL values fails
Date
Msg-id 34B6D505372CB84999C37498E98EB1E60374464B@EX2007.Barthauer.de
Whole thread Raw
In response to Re: BUG #11304: UNION query with NULL values fails  (David G Johnston <david.g.johnston@gmail.com>)
List pgsql-bugs
I want to clarify what's my problem with the "untyped" NULL values.

I have to build SQL queries dynamically. Basically it's something like merging different queries (or query parts) into
abigger query. 
I don't know the data types of the "source" columns und I have to add NULL columns to the resulting query.
This combination is causing the trouble, and for me there's no way to work around this issue in another way.

Hope that helps.
Markus



pgsql-bugs by date:

Previous
From: Dinesh Bhandary
Date:
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
Next
From: artem01x@gmail.com
Date:
Subject: BUG #11316: install error