Functions vs. Columns?????

Поиск
Список
Период
Сортировка
От Byron Nikolaidis
Тема Functions vs. Columns?????
Дата
Msg-id 38AA04D4.4FDA646C@home.com
обсуждение исходный текст
Ответы RE: [INTERFACES] Functions vs. Columns?????  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Re: [INTERFACES] Functions vs. Columns?????  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
Hi,

I have a question as to how postgres handles some built-in functions,
for example:

Works                        Doesn't Work
------                       ------------
select now();                select now;
select current_date;         select current_date();

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.

Any thoughts?

Byron


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

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: [INTERFACES] ODBC / Access causes "Stuck on TLB IPI wait (CPU#1)"
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: [INTERFACES] Functions vs. Columns?????