Re: Set new system identifier using pg_resetxlog

From: Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Petr Jelinek <petr(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Set new system identifier using pg_resetxlog
Date: 2014-06-18 17:48:28
Message-ID: 20140618174828.GC31357@toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 2014-06-18 10:44:56 -0700, josh(at)agliodbs(dot)com wrote:
>
> I'm unclear on why we would overload pg_resetxlog for this.

Because pg_resetxlog already does something very similar, so the patch
is small. If it were independent, it would have to copy quite some code
from pg_resetxlog.

> Wouldn't it be better design to have an independant function,
> "pg_set_system_identifier"?

A *function*? Why?

-- Abhijit

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shreesha 2014-06-18 17:50:59 Re: How to change the pgsql source code and build it??
Previous Message Andres Freund 2014-06-18 17:47:58 Re: Set new system identifier using pg_resetxlog