AW: column aliases - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: column aliases
Date
Msg-id 219F68D65015D011A8E000006F8590C604AF7DCC@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> >> What it looks like to me is that we have a bug in the 
> expansion of '*'.
> >> It should be generating columns for both the explicit and 
> the implicit
> >> FROM clause, but it's evidently deciding that it should 
> only produce
> >> output columns for the first one.
> 
> Looks like the behavior is still the same (except now it says
> NOTICE:  Adding missing FROM-clause entry for table pg_language
> as well).  I'm inclined to say we should change it, and am willing
> to do the work if no one objects...

The idea of the NOTICE was to keep the behavior the same as before
but tell the user of the problem. Before you change the behavior
imho the better thing to do would be a hard error.

Andreas


pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: Big projet, please help
Next
From: "Matthias Urlichs"
Date:
Subject: Re: Back online