Re: Log-Shipping Standby Server: USE_FLOAT8_BYVAL compatibility error

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Mathias Breuninger *EXTERN*" <mathias(dot)breuninger(at)espace29(dot)asso(dot)fr>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Log-Shipping Standby Server: USE_FLOAT8_BYVAL compatibility error
Date: 2012-09-04 09:27:28
Message-ID: D960CB61B694CF459DCFB4B0128514C2085895BA@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Mathias Breuninger wrote:
> I configure PostgreSQL 9.1.5 on two servers: one with FreeBSD-9.0/powerpc64 and the other with
> FreeBSD-9.0/powerpc.
>
> The 64 bits server is the master and I tried to configure the 32 bits one as a standby server.
>
> I followed the documentation but I can't start the standby postgres daemon:
> postgres[73978]: [1-1] FATAL: database files are incompatible with server
> postgres[73978]: [1-2] DETAIL: The database cluster was initialized with USE_FLOAT8_BYVAL but the
> server was compiled without USE_FLOAT8_BYVAL.
> postgres[73978]: [1-3] HINT: It looks like you need to recompile or initdb.
>
> I can't find an option to initialize the database cluster without the USE_FLOAT8_BYVAL.
>
> I can recompile PostgreSQL on the 64bit architecture without this configure option, but I wonder if
> there will be a performance drawback.

You cannot have primary and standby server with different architectures.

> Maybe should I go with Slony-I as it seems to work with differents architectures.

That's an option.

Yours,
Laurenz Albe

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2012-09-04 15:15:58 Re: Wiki link for max_connections? (Fwd: Re: [ADMIN] PostgreSQL oom_adj postmaster process to -17)
Previous Message Sergey Konoplev 2012-09-04 09:15:58 Re: Log-Shipping Standby Server: USE_FLOAT8_BYVAL compatibility error