Functions and Parentheses

From: "Igal (at) Lucee(dot)org" <igal(at)lucee(dot)org>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Functions and Parentheses
Date: 2017-10-06 21:18:36
Message-ID: 8f8d7cea-4ac2-4229-4851-07dcea4209f3@lucee.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Is current_date a function?  It's a bit puzzling to me since there are
no parentheses after it, i.e.

  SELECT current_date;

And not

  SELECT current_date();  -- syntax error

How come `current_date` has no parenthesis but `clock_timestamp()` does?

Thanks,

Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2017-10-06 21:33:07 Re: Functions and Parentheses
Previous Message Vladimir Nicolici 2017-10-06 18:39:22 Re: Strange checkpoint behavior - checkpoints take a long time