pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Byron Nikolaidis <byron.nikolaidis@home.com>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Functions vs. Columns?????
Date: Wed, 16 Feb 2000 06:04:36 +0000
Message-ID: <38AA3DF4.A3AC0E00@alumni.caltech.edu> (raw)
References: <38AA04D4.4FDA646C@home.com>

> 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



view thread (4+ messages)

Message-ID: <38AA3DF4.A3AC0E00@alumni.caltech.edu>
Permalink:  ../38AA3DF4.A3AC0E00@alumni.caltech.edu/
Also on:    postgresql.org/message-id/38AA3DF4.A3AC0E00@alumni.caltech.edu

 · 

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: lockhart@alumni.caltech.edu, byron.nikolaidis@home.com
  Subject: Re: [INTERFACES] Functions vs. Columns?????
  In-Reply-To: <38AA3DF4.A3AC0E00@alumni.caltech.edu>

* 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