Re: Wrong manual info? - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Wrong manual info?
Date
Msg-id Pine.LNX.4.30.0110092000340.672-100000@peter.localdomain
Whole thread Raw
In response to Re: Wrong manual info?  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-docs
Christopher Kings-Lynne writes:

> Another thing, why is there a funtional form of 'now' called now(), but not
> a functional form of 'today' called today()?  (7.1.3)

Most of these are legacy and/or compatibility and/or convenience things.
'today' is now called CURRENT_DATE and 'now' is called CURRENT_TIMESTAMP,
plus or minus a type cast.  The now() function is also there for ODBC
compliance.  To make things worse, ODBC also adds (or should add)
CURDATE() and CURRENT_DATE() and other such redundant things.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-docs by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Wrong manual info?
Next
From: Norman Megill
Date:
Subject: FOR i IN REVERSE documentation error?