Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."? - Mailing list pgsql-hackers

From Eric B. Ridge
Subject Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."?
Date
Msg-id CC7DDE3E-7643-4818-B8AA-8662714E199E@gmail.com
Whole thread Raw
In response to Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."?
List pgsql-hackers
On Nov 1, 2011, at 6:47 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> I can think of a number of places where you can write "*" where I'm
> pretty sure we *don't* want this.  It should be restricted to top-level
> entries in SELECT targetlists, IMO.

Yes. That is the exact conclusion I've come to.  

However, why is
   select table.* foo from table 

allowed?  What does that even mean?

eric


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."?
Next
From: Robert Treat
Date:
Subject: Re: unite recovery.conf and postgresql.conf