Re: Wrong manual info?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Wrong manual info?
Дата
Msg-id Pine.LNX.4.30.0110092000340.672-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Wrong manual info?  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: Wrong manual info?
Следующее
От: Norman Megill
Дата:
Сообщение: FOR i IN REVERSE documentation error?