pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dirk Lutzebäck <lutzeb@aeccom.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Cc: sgeisler@aeccom.com
Subject: Re: dump/restore needed when switching from 32bit to 64bit
Date: Tue, 19 Jul 2005 19:48:59 +0200
Message-ID: <42DD3D0B.5080101@aeccom.com> (raw)
In-Reply-To: <23511.1121781943@sss.pgh.pa.us>
References: <42DCC1E9.2060300@aeccom.com>
	<23511.1121781943@sss.pgh.pa.us>

Thanks Tom,

we now stay with 32bit to allow backward compatibilty with XEON which is 
needed as a fail-over system.

The question is which gcc cflags are best used with XEON and Opteron to 
achieve fail-over compatibility. This is what we used for postgresql 8.0.3:

XEON, RHEL 3.0 AS:
    CFLAGS = "-mcpu=pentium4 -march=pentium4"

Opteron 875, RHEL 3.0 AS,  gcc version 3.2.3 20030502 (Red Hat Linux 
3.2.3-42):
    CFLAGS = "-Acpu=x86_64 -Amachine=x86_64"

Do we still need a dump/restore with this config?

Regards,

Dirk


Tom Lane wrote:

>=?ISO-8859-1?Q?Dirk_Lutzeb=E4ck?= <lutzeb@aeccom.com> writes:
>  
>
>>when have a 8.0.3 database running on a XEON machine. We want to replace 
>>it with an Opteron where postgresql is to be compiled with 64bit. Do we 
>>need a dump/restore or can we just start the db with the new compilation?
>>    
>>
>
>I'd bet you need a dump/restore --- MAXALIGN is most likely different
>on the two platforms.  If it isn't, then maybe you could get away with
>this, but it's definitely risky.
>
>			regards, tom lane
>  
>

view thread (4+ messages)  latest in thread

Message-ID: <42DD3D0B.5080101@aeccom.com>
Permalink:  ../42DD3D0B.5080101@aeccom.com/
Also on:    postgresql.org/message-id/42DD3D0B.5080101@aeccom.com

 · 

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: lutzeb@aeccom.com, tgl@sss.pgh.pa.us, pgsql-general@postgresql.org, sgeisler@aeccom.com
  Subject: Re: dump/restore needed when switching from 32bit to 64bit
  In-Reply-To: <42DD3D0B.5080101@aeccom.com>
  References: <42DCC1E9.2060300@aeccom.com> <23511.1121781943@sss.pgh.pa.us> <42DD3D0B.5080101@aeccom.com>

* 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