[GENERAL] Functions and Parentheses - Mailing list pgsql-general

From Igal @ Lucee.org
Subject [GENERAL] Functions and Parentheses
Date
Msg-id 8f8d7cea-4ac2-4229-4851-07dcea4209f3@lucee.org
Whole thread Raw
Responses Re: [GENERAL] Functions and Parentheses  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: [GENERAL] Functions and Parentheses  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-general by date:

Previous
From: Vladimir Nicolici
Date:
Subject: Re: [GENERAL] Strange checkpoint behavior - checkpoints take a long time
Next
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] Functions and Parentheses