pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed64 or 32 postgres
4+ messages / 3 participants
[nested] [flat]
* 64 or 32 postgres
@ 2005-03-25 19:12 Subbiah, Stalin <SSubbiah@netopia.com>
0 siblings, 2 replies; 4+ messages in thread
From: Subbiah, Stalin @ 2005-03-25 19:12 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: 64 or 32 postgres
@ 2005-03-25 19:32 Matthew Wronkowski <mattw@csh.rit.edu>
parent: Subbiah, Stalin <SSubbiah@netopia.com>
1 sibling, 0 replies; 4+ messages in thread
From: Matthew Wronkowski @ 2005-03-25 19:32 UTC (permalink / raw)
To: Subbiah, Stalin <SSubbiah@netopia.com>; +Cc: pgsql-admin
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: 64 or 32 postgres
@ 2005-03-25 19:36 Tom Lane <tgl@sss.pgh.pa.us>
parent: Subbiah, Stalin <SSubbiah@netopia.com>
1 sibling, 0 replies; 4+ messages in thread
From: Tom Lane @ 2005-03-25 19:36 UTC (permalink / raw)
To: Subbiah, Stalin <SSubbiah@netopia.com>; +Cc: pgsql-admin
"Subbiah, Stalin" <SSubbiah@netopia.com> writes:
> 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.=20
That has nothing to do with 64/32 bit; you changed the
--enable-integer-datetimes config option.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: 64 or 32 postgres
@ 2005-03-25 20:52 Subbiah, Stalin <SSubbiah@netopia.com>
0 siblings, 0 replies; 4+ messages in thread
From: Subbiah, Stalin @ 2005-03-25 20:52 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin
Hmm..
It was complied with ./configure --without-readline. That's it.
Does postgres801 rpm (postgresql-server-8.0.1-0.1.x86_64.rpm) comes
with --enable-integer-datetimes enabled by default ? The reason it
prompted me to ask is that, we have postgres801 rpm install in the same
machine in /var/lib dir. If it's enabled by default then I think we
might have started postgres from the rpm binary as opposed to src
binary.
What parameters should I enable if I install postgres on a 64 bit
hardware from src. Seems like x86_64.rpm's enables some parameters which
I'm missing it when I compile it from src.
Thanks,
-Stalin
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Friday, March 25, 2005 11:37 AM
To: Subbiah, Stalin
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] 64 or 32 postgres
"Subbiah, Stalin" <SSubbiah@netopia.com> writes:
> 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.=20
That has nothing to do with 64/32 bit; you changed the
--enable-integer-datetimes config option.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2005-03-25 20:52 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-25 19:12 64 or 32 postgres Subbiah, Stalin <SSubbiah@netopia.com>
2005-03-25 19:32 ` Matthew Wronkowski <mattw@csh.rit.edu>
2005-03-25 19:36 ` Tom Lane <tgl@sss.pgh.pa.us>
2005-03-25 20:52 Re: 64 or 32 postgres Subbiah, Stalin <SSubbiah@netopia.com>
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