Re: procpid?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: procpid?
Дата
Msg-id 1308082041-sup-2644@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: procpid?  (Bruce Momjian <bruce@momjian.us>)
Список 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 по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: procpid?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [WIP] cache estimates, cache access cost