Re: Inconsistant DOW...

Поиск
Список
Период
Сортировка
От W.B.Hill
Тема Re: Inconsistant DOW...
Дата
Msg-id Pine.LNX.4.58.0406291031590.707@uvyymnn1.zvavfreire.pbz
обсуждение исходный текст
Ответ на Re: Inconsistant DOW...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, 28 Jun 2004, Tom Lane wrote:

> Richard Huxton <dev@archonet.com> writes:
> > W.B.Hill wrote:
> >> SELECT d+'45 days ago'::interval FROM test;

Yep - it's the clock's going forward that does it. Doh! The quick'n'dirty
work around '45.3 days ago' was what I used but just a straight -45 is
better.

> BTW, since 7.3 there has been a date-plus-interval operator yielding
> timestamp without time zone, which I believe Lockhart added specifically
> to avoid the unwanted promotion to timestamptz in this scenario.
> So the third answer is to update to something less ancient than PG 7.2.

Debian Stable. Sigh. IT support policies. Whimper!

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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: A few beginner's questions concerning concurrency control
Следующее
От: Carlos Ojea Castro
Дата:
Сообщение: Query using kylix (delphi)