Re: pg_resetxlog options - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_resetxlog options
Date
Msg-id 200208272016.g7RKGuX09788@candle.pha.pa.us
Whole thread Raw
In response to pg_resetxlog options  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> pg_resetxlog uses a non-standard options parsing method: The -l option
> requires two arguments (-l fileid seg).  I propose to change this to -l
> fileid,seg which is the standard way to separate suboptions.

Agreed.

> Secondly, the -n option appears to be redundant with pg_controldata.  Do
> we need it?

Yep.

> Thirdly, pg_resetxlog uses the term "guessed" controldata values if it
> can't read the real ones.  I found this to be confusing, because the code
> doesn't do a whole lot of guessing.  Would it be better to say that the
> values are simply defaulted (and to what)?

"Attempts to determine the proper values"?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: REINDEX ALL and CLUSTER ALL
Next
From: Bruce Momjian
Date:
Subject: Re: Open 7.3 items