Re: pg_upgrade from 8.3 to 9.1 and Flag --disable-integer-datetimes - Mailing list pgsql-general

From Kevin Grittner
Subject Re: pg_upgrade from 8.3 to 9.1 and Flag --disable-integer-datetimes
Date
Msg-id 1402158639.48099.YahooMailNeo@web122301.mail.ne1.yahoo.com
Whole thread Raw
In response to Re: pg_upgrade from 8.3 to 9.1 and Flag --disable-integer-datetimes  (Bruce Momjian <bruce@momjian.us>)
List 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 by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Re: Problem with locales on Linux with 9.3.4
Next
From: Adrian Klaver
Date:
Subject: Re: Problem with locales on Linux with 9.3.4