Re: database system identifier differs between the primary and standby

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: rajibdk <rajib(dot)deka(at)siemens(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: database system identifier differs between the primary and standby
Date: 2011-04-20 13:49:08
Message-ID: BANLkTinYxC8dX=FO6G0saOBHWYzZVVs+Tg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 20, 2011 at 9:28 AM, rajibdk <rajib(dot)deka(at)siemens(dot)com> wrote:
> We are getting the following log while configuring hot standby,
>
> 2011-04-20 17:34:40 ETC/GMT FATAL:  the database system is starting up
> 2011-04-20 17:34:41 ETC/GMT FATAL:  database system identifier differs
> between the primary and standby
> 2011-04-20 17:34:41 ETC/GMT DETAIL:  The primary's identifier is
> 5592072752411433371, the standby's identifier is 5597615802844953578.
>
> PostgreSQL Version: 9.0.2

You need to initialize the slave using a hot backup taken on the master.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2011-04-20 13:54:55 Re: Build farm coverage for isolation tests
Previous Message Tom Lane 2011-04-20 13:38:27 Re: Re: [COMMITTERS] pgsql: setlocale() on Windows doesn't work correctly if the locale name