Re: procpid? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: procpid?
Date
Msg-id 1308082041-sup-2644@alvh.no-ip.org
Whole thread Raw
In response to Re: procpid?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Excerpts from Bruce Momjian's message of mar jun 14 12:59:15 -0400 2011:

> Well, someone doing SELECT *, which is probably 90% of the users, are
> going to be pretty confused by duplicate columns, asking, "What is the
> difference"?  For those people this would make things worse than they
> are now.
> 
> I would say 90% of users are doing SELECT *, and 10% are joining to
> other tables or displaying specific columns.  We want to help that 10%
> without making that 90% confused.

I think if you had column synonyms, you would get only a single one when
doing "select *".  The other name would still be accepted in a query
that explicitely asked for it.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: procpid?
Next
From: Alvaro Herrera
Date:
Subject: Re: [WIP] cache estimates, cache access cost