Re: Why extract( ... from timestamp ) is not immutable?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why extract( ... from timestamp ) is not immutable?
Дата
Msg-id 28307.1327506239@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why extract( ... from timestamp ) is not immutable?  (hubert depesz lubaczewski <depesz@depesz.com>)
Ответы Re: Why extract( ... from timestamp ) is not immutable?  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
hubert depesz lubaczewski <depesz@depesz.com> writes:
> how can I then have immutable epoch for given point in time?

What do you consider to be "a given point in time"?  It seems like
you have not thought through what effects the timezone setting has
on your concept of "now", or at least you have not explained what
you need.

Perhaps even more to the point, why aren't you just storing the
timestamp or timestamptz value and being happy with that?

            regards, tom lane

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Why extract( ... from timestamp ) is not immutable?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Why extract( ... from timestamp ) is not immutable?