Re: Timestamp shift when importing data

Поиск
Список
Период
Сортировка
От Jolles, Peter M (GE Infra, Energy)
Тема Re: Timestamp shift when importing data
Дата
Msg-id 450587DECE7D17438DC4C9EFD12F0A430AAAD9E3@ALPMLVEM08.e2k.ad.ge.com
обсуждение исходный текст
Ответ на Re: Timestamp shift when importing data  ("David Wilson" <david.t.wilson@gmail.com>)
Ответы Re: Timestamp shift when importing data
Список pgsql-general
On Saturday, January 03, 2009 6:27 PM, David T Wilson wrote:

> Those are the dates of daylight savings time kicking in-
> which happens, not coincidentally, at 2am.
>
> What's the type of the field you're trying to import into,
> and how are you doing the import?

That makes a lot more sense now, although I'm not sure why it is only
happening in the spring and not in the fall. The original data field is
a MS Access "General Date". In Postgres it is stored as a timestamp with
timezone.

To do the import, I tried using an Access append query. I've also tried
to use the Access export function.

Reading up on Windows XP handling of DST, it appears that it is
unreliable for pre-2007 time shifts, which would explain why it isn't
happening with more recent data. Is there any way to ignore DST in an
import/export transaction?

Thanks,
Peter

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: What determines the cost of an index scan?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Timestamp shift when importing data