Re: Index on timestamp field, and now()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index on timestamp field, and now()
Дата
Msg-id 22586.1013537294@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Index on timestamp field, and now()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> Correct, it's the now() function that's not cachable --- but you can get
>> around that with the "timestamp 'now'" kluge.

> Isn't CURRENT_TIMESTAMP the preferred method for this?

Doesn't make any difference as far as this point is concerned.
CURRENT_TIMESTAMP isn't cachable either.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Index on timestamp field, and now()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Feature enhancement request : use of libgda in