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

From Josh Berkus
Subject Re: Set new system identifier using pg_resetxlog
Date
Msg-id 53A1D39F.7060006@agliodbs.com
Whole thread Raw
In response to Set new system identifier using pg_resetxlog  (Petr Jelinek <petr@2ndquadrant.com>)
Responses Re: Set new system identifier using pg_resetxlog  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On 06/18/2014 10:48 AM, Abhijit Menon-Sen wrote:
> 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.

Aha.  In that case, it seems like it's time to rename pg_resetxlog, if
it does a bunch of things that aren't resetting the xlog.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Is analyze_new_cluster.sh still useful?
Next
From: Andres Freund
Date:
Subject: Re: Set new system identifier using pg_resetxlog