Re: Set new system identifier using pg_resetxlog

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Abhijit Menon-Sen <ams(at)2ndquadrant(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:59:59
Message-ID: 53A1D39F.7060006@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 06/18/2014 10:48 AM, Abhijit Menon-Sen wrote:
> 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.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-06-18 18:03:06 Re: Set new system identifier using pg_resetxlog
Previous Message Andres Freund 2014-06-18 17:58:41 Re: Is analyze_new_cluster.sh still useful?