Re: pg_upgrade from 8.3 to 9.1 and Flag --disable-integer-datetimes

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: pg_upgrade from 8.3 to 9.1 and Flag --disable-integer-datetimes
Дата
Msg-id 1402158639.48099.YahooMailNeo@web122301.mail.ne1.yahoo.com
обсуждение исходный текст
Ответ на Re: pg_upgrade from 8.3 to 9.1 and Flag --disable-integer-datetimes  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
Bruce Momjian <bruce@momjian.us> wrote:
> On Tue, May 27, 2014 at 04:29:19PM +0200, Meik Weißbach wrote:

>> How do we determine, whether or not a server is built with
>> disable-integer-datetimes?
>
> pg_upgrade --check will definitely complain about a timestamp storage
> mismatch.  Odds are your packager built 8.3 with integer timestamps.
> Run pg_controldata on the 8.3 cluster and look at:
>
>     Date/time type storage:               64-bit integers
>
> This shows integer timestamps.

All good information; but just for the sake of completeness, if you
can get a database connection, you can execute:

SHOW integer_datetimes;

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Problem with locales on Linux with 9.3.4
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Problem with locales on Linux with 9.3.4