Re: [INTERFACES] Functions vs. Columns?????

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [INTERFACES] Functions vs. Columns?????
Дата
Msg-id 38AA3DF4.A3AC0E00@alumni.caltech.edu
обсуждение исходный текст
Ответ на Functions vs. Columns?????  (Byron Nikolaidis <byron.nikolaidis@home.com>)
Список pgsql-interfaces
> It seems that there should be some consistency here in the use of
> parenthesis.  I don't really know how these things are handled on the
> backend, but it seems that parenthesis are the more correct way, or at
> least both should be allowed.

The ones without parens are SQL-mandated "constants" which are
translated in the parser front end into function calls (usually with
some other name for historical reasons). Other function calls, like
now(), are really that: function calls.

> Any thoughts?

Uh, sure ;)
                    - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] Functions vs. Columns?????
Следующее
От: Peter Mount
Дата:
Сообщение: RE: [INTERFACES] DELETEs with jdbc