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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Problem about pgsql's column alias
Дата
Msg-id 17738.1050502609@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Problem about pgsql's column alias  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: [GENERAL] Problem about pgsql's column alias
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Allowing column aliases without AS would break nothing.

... except postfix operators, and whatever else happens to get caught in
the crossfire.  And we'll still get complaints because it only works for
identifiers, not for keywords.

Now I'll admit that the postfix-operator issue is probably a red
herring, since "SELECT a + b, ..." should get interpreted as infix +
in any case.  But I think there are other side-effects we have not
fully analyzed yet.  The one-line grammar hack was not intended to
be actually applied, right?  Let's see a complete proposal.
        regards, tom lane



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

Предыдущее
От: Shridhar Daithankar
Дата:
Сообщение: Re: Are we losing momentum?
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Are we losing momentum?