Re: COPY BINARY 8.3 to 8.4 timestamp incorrect

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY BINARY 8.3 to 8.4 timestamp incorrect
Дата
Msg-id 12771.1255530033@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY BINARY 8.3 to 8.4 timestamp incorrect  ("Chase, John" <jchase@mtcsc.com>)
Ответы Re: COPY BINARY 8.3 to 8.4 timestamp incorrect  ("Chase, John" <jchase@mtcsc.com>)
Список pgsql-general
"Chase, John" <jchase@mtcsc.com> writes:
> I am working on upgrading from 8.3.7 to 8.4.1. One of the functions of
> our application is to "export" and "import" data, and to accomplish this
> I've written some functions that use COPY ... TO ... BINARY and COPY ...
> FROM ... BINARY. In testing the upgrade to 8.4.1 I noticed that when I
> "import" from export files that were created under 8.3.7 the timestamps
> are not brought in correctly.

Probably you've got 8.4 compiled with integer timestamps where the 8.3
DB used float timestamps, or perhaps vice-versa.

            regards, tom lane

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

Предыдущее
От: "Chase, John"
Дата:
Сообщение: COPY BINARY 8.3 to 8.4 timestamp incorrect
Следующее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: COPY BINARY 8.3 to 8.4 timestamp incorrect