Re: [GENERAL] CURRENT_TIMESTAMP

Поиск
Список
Период
Сортировка
От John Hasler
Тема Re: [GENERAL] CURRENT_TIMESTAMP
Дата
Msg-id 87r8fj8l2y.fsf@toncho.dhh.gt.org
обсуждение исходный текст
Ответ на Re: [GENERAL] CURRENT_TIMESTAMP  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
Josh Berkus writes:
> now() or now('transaction') returns the transaction timestamp.
> now('statement') returns the statement timestamp now('immediate') returns
> the timestamp at the exact time the function is called.

I like that.

IMHO "the exact time the function is called" is what most people would
expect to get from now(), but it's too late for that.
-- 
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, Wisconsin


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

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: [GENERAL] CURRENT_TIMESTAMP
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] CURRENT_TIMESTAMP