pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Wronkowski <mattw@csh.rit.edu>
To: Subbiah, Stalin <SSubbiah@netopia.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: 64 or 32 postgres
Date: Fri, 25 Mar 2005 14:32:02 -0500
Message-ID: <20050325193200.GB12505@csh.rit.edu> (raw)
In-Reply-To: <6B26A56846293C4488B54CF3E44033546CFF05@mxca2.corp.netopia.com>
References: <6B26A56846293C4488B54CF3E44033546CFF05@mxca2.corp.netopia.com>

On Fri, Mar 25, 2005 at 11:12AM -0800, I got a letter,
 where Subbiah, Stalin told me:

> How to figure out whether the installed postgres version is 32 bit or
> 64bit ? We installed postgres801 from src on susu box with EMT64 bit
> hardware. I assume since the hardware was 64 bit, postgres should have
> compiled in 64 bit too, but then we ran into this error
> 
> FATAL: database files are incompatible with server
> DETAIL: The database cluster was initialized without
> HAVE_INT64_TIMESTAMP but the server was compiled with
> HAVE_INT64_TIMESTAMP.
> HINT: It looks like you need to recompile or initdb. 
> 
> Any ideas ?
> 
> Thanks,
> Stalin

Stalin,

Probably the easiest way to figure out if the server is 64-bit is to 
run 'file postmaster' binary.  However, the problem you are running into
is because postgresql was configured/compiled with

--enable-integer-datetimes  enable 64-bit integer date/time support

Recompile without this flag.

-- 
Matthew Wronkowski, CCNP
Bioinformatics
Rochester Institute of Technology



view thread (4+ messages)  latest in thread

Message-ID: <20050325193200.GB12505@csh.rit.edu>
Permalink:  ../20050325193200.GB12505@csh.rit.edu/
Also on:    postgresql.org/message-id/20050325193200.GB12505@csh.rit.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mattw@csh.rit.edu, SSubbiah@netopia.com
  Subject: Re: 64 or 32 postgres
  In-Reply-To: <20050325193200.GB12505@csh.rit.edu>
  References: <6B26A56846293C4488B54CF3E44033546CFF05@mxca2.corp.netopia.com> <20050325193200.GB12505@csh.rit.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox