Re: [GENERAL] Problem about pgsql's column alias

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [GENERAL] Problem about pgsql's column alias
Дата
Msg-id Pine.LNX.4.44.0304151046520.1750-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: [GENERAL] Problem about pgsql's column alias  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы qualified column names
Re: [GENERAL] Problem about pgsql's column alias
qualified column names
Список pgsql-hackers
Tom Lane writes:

> I think it would be a bad idea in any case; it would mask errors too
> easily.  For example, you meant to say "SELECT a + b, ..." but wrote
> "SELECT a b, ...".  Or how about this:
>     SELECT 'foo'::character varying
> Is "varying" an alias or part of the type name?

That seems like a rather poor excuse for not supporting a standard feature
that people seem to ask about every week.  If someone can't tell the
difference between a and a + b he's going to have more problems than this.

-- 
Peter Eisentraut   peter_e@gmx.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Кузьмина-Вакилова Елена
Дата:
Сообщение:
Следующее
От: Dave Cramer
Дата:
Сообщение: qualified column names