On 10/06/2017 02:33 PM, Tom Lane wrote:
> "Igal @ Lucee.org" <igal@lucee.org> writes:
>> How come `current_date` has no parenthesis but `clock_timestamp()` does?
>
> Because the SQL standard says that CURRENT_DATE doesn't have parentheses.
> It is a function by any other measure, though.
>
> (AFAICT, the SQL committee is unacquainted with any principles of
> programming language syntax design that emerged later than the COBOL
> era. Their capacity to invent new and non-orthogonal syntax for every
> new feature seems boundless.)
This is the best statement I have read all week.
JD
>
> regards, tom lane
>
>
--
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc
PostgreSQL Centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn: https://pgconf.us
***** Unless otherwise stated, opinions are my own. *****
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general