Re: UNION with more than 2 branches - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: UNION with more than 2 branches
Date
Msg-id 200704242023.12877.peter_e@gmx.net
Whole thread Raw
In response to Re: UNION with more than 2 branches  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Am Dienstag, 24. April 2007 19:48 schrieb Tom Lane:
> You're missing the point, which is that the inner UNION needs to decide
> what its uniqueness semantics are, independently of what might happen to
> its result later.  Or that's how I read the spec anyway.

It's probably safer to leave it as is.  Maybe there could be a way to make the 
error message more understandable ("Where did the 'text' come from?"), but 
perhaps the additional detail discussed in the other thread will do that.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: UNION with more than 2 branches
Next
From: Neil Conway
Date:
Subject: Re: RETURN QUERY in PL/PgSQL?