pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Byron Nikolaidis <byron.nikolaidis@home.com>
To: pgsql-interfaces@postgreSQL.org
Subject: Functions vs. Columns?????
Date: Tue, 15 Feb 2000 21:00:52 -0500
Message-ID: <38AA04D4.4FDA646C@home.com> (raw)


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



view thread (4+ messages)  latest in thread

Message-ID: <38AA04D4.4FDA646C@home.com>
Permalink:  ../38AA04D4.4FDA646C@home.com/
Also on:    postgresql.org/message-id/38AA04D4.4FDA646C@home.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: byron.nikolaidis@home.com
  Subject: Re: Functions vs. Columns?????
  In-Reply-To: <38AA04D4.4FDA646C@home.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox