Re: I was spoiled by the MySQL timestamp field

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: I was spoiled by the MySQL timestamp field
Дата
Msg-id 13482.1043423726@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: I was spoiled by the MySQL timestamp field  (Dennis Gearon <gearond@cvc.net>)
Ответы Re: I was spoiled by the MySQL timestamp field  (will trillich <will@serensoft.com>)
Список pgsql-general
Dennis Gearon <gearond@cvc.net> writes:
> What's the difference between 'now()' and 'current_timestamp' ?

None AFAIK.  now() is historical Postgres usage, CURRENT_TIMESTAMP is
the SQL-spec-mandated spelling of the same functionality.

CURRENT_TIMESTAMP with an argument does something a bit different,
though.

http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Jochem van Dieten
Дата:
Сообщение: Re: createlang and Schemas
Следующее
От: "SZŰCS Gábor"
Дата:
Сообщение: Re: 7.2.1: coalesce double-calls function?