Re: Set new system identifier using pg_resetxlog - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: Set new system identifier using pg_resetxlog
Date
Msg-id 20140618174828.GC31357@toroid.org
Whole thread Raw
In response to Re: Set new system identifier using pg_resetxlog  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
At 2014-06-18 10:44:56 -0700, josh@agliodbs.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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Set new system identifier using pg_resetxlog
Next
From: Shreesha
Date:
Subject: Re: How to change the pgsql source code and build it??