Functions vs. Columns????? - Mailing list pgsql-interfaces

From Byron Nikolaidis
Subject Functions vs. Columns?????
Date
Msg-id 38AA04D4.4FDA646C@home.com
Whole thread Raw
Responses RE: [INTERFACES] Functions vs. Columns?????  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Re: [INTERFACES] Functions vs. Columns?????  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: [INTERFACES] ODBC / Access causes "Stuck on TLB IPI wait (CPU#1)"
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: [INTERFACES] Functions vs. Columns?????