Re: Losing data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Losing data
Дата
Msg-id 19287.1213899626@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Losing data  (Garry Saddington <garry@schoolteachers.co.uk>)
Список pgsql-general
Garry Saddington <garry@schoolteachers.co.uk> writes:
> Oh, and the problem has been intermittant. Another
> thing that happened this morning is that Postgres had today as 18/06/2008
> when in fact it was 19/06/2008 and the OS reported this correctly.

Two theories about that one:

1. Postgres' timezone setting is far away from where you are.

2. You were in a transaction that had been open since yesterday.
now() and related functions show time of transaction start.


#2 is interesting since forgetting to commit an open transaction might
also explain the "data loss" complaint.

            regards, tom lane

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

Предыдущее
От: aklaver@comcast.net (Adrian Klaver)
Дата:
Сообщение: Re: Losing data
Следующее
От: Shane Ambler
Дата:
Сообщение: Re: Losing data