public inbox for [email protected]  
help / color / mirror / Atom feed
pg_resetxlog -l
3+ messages / 2 participants
[nested] [flat]

* pg_resetxlog -l
@ 2012-10-24 14:54  Fujii Masao <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Fujii Masao @ 2012-10-24 14:54 UTC (permalink / raw)
  To: pgsql-docs

Hi,

I found the old information about -l option of pg_resetxlog in its document.

> pg_resetxlog [-f] [-n] [-o oid] [-x xid] [-e xid_epoch] [-m mxid] [-O mxoff] [-l timelineid,fileid,seg] datadir

In HEAD, what -l option of pg_resetxlog allows to be set is a WAL file name.
So 'timelineid,fileid,seg' part should be changed to 'xlogfile'. Patch attached.
I chose the term 'xlogfile' here because it's used in help message of
pg_resetxlog.

Regards,

-- 
Fujii Masao


Attachments:

  [application/octet-stream] pg_resetxlog_doc_v1.patch (1.2K, 2-pg_resetxlog_doc_v1.patch)
  download | inline diff:
*** a/doc/src/sgml/ref/pg_resetxlog.sgml
--- b/doc/src/sgml/ref/pg_resetxlog.sgml
***************
*** 29,35 **** PostgreSQL documentation
     <arg choice="opt"><option>-e</option> <replaceable class="parameter">xid_epoch</replaceable></arg>
     <arg choice="opt"><option>-m</option> <replaceable class="parameter">mxid</replaceable></arg>
     <arg choice="opt"><option>-O</option> <replaceable class="parameter">mxoff</replaceable></arg>
!    <arg choice="opt"><option>-l</option> <replaceable class="parameter">timelineid</replaceable>,<replaceable class="parameter">fileid</replaceable>,<replaceable class="parameter">seg</replaceable></arg>
     <arg choice="plain"><replaceable>datadir</replaceable></arg>
    </cmdsynopsis>
   </refsynopsisdiv>
--- 29,35 ----
     <arg choice="opt"><option>-e</option> <replaceable class="parameter">xid_epoch</replaceable></arg>
     <arg choice="opt"><option>-m</option> <replaceable class="parameter">mxid</replaceable></arg>
     <arg choice="opt"><option>-O</option> <replaceable class="parameter">mxoff</replaceable></arg>
!    <arg choice="opt"><option>-l</option> <replaceable class="parameter">xlogfile</replaceable></arg>
     <arg choice="plain"><replaceable>datadir</replaceable></arg>
    </cmdsynopsis>
   </refsynopsisdiv>


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pg_resetxlog -l
@ 2012-12-25 16:52  Fujii Masao <[email protected]>
  parent: Fujii Masao <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Fujii Masao @ 2012-12-25 16:52 UTC (permalink / raw)
  To: pgsql-docs

On Wed, Oct 24, 2012 at 11:54 PM, Fujii Masao <[email protected]> wrote:
> Hi,
>
> I found the old information about -l option of pg_resetxlog in its document.
>
>> pg_resetxlog [-f] [-n] [-o oid] [-x xid] [-e xid_epoch] [-m mxid] [-O mxoff] [-l timelineid,fileid,seg] datadir
>
> In HEAD, what -l option of pg_resetxlog allows to be set is a WAL file name.
> So 'timelineid,fileid,seg' part should be changed to 'xlogfile'. Patch attached.
> I chose the term 'xlogfile' here because it's used in help message of
> pg_resetxlog.

Does anyone pick up and commit this to HEAD?

Regards,

-- 
Fujii Masao


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pg_resetxlog -l
@ 2013-01-01 15:17  Magnus Hagander <[email protected]>
  parent: Fujii Masao <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Magnus Hagander @ 2013-01-01 15:17 UTC (permalink / raw)
  To: Fujii Masao <[email protected]>; +Cc: pgsql-docs

Applied, thanks.

//Magnus

On Tue, Dec 25, 2012 at 5:52 PM, Fujii Masao <[email protected]> wrote:
> On Wed, Oct 24, 2012 at 11:54 PM, Fujii Masao <[email protected]> wrote:
>> Hi,
>>
>> I found the old information about -l option of pg_resetxlog in its document.
>>
>>> pg_resetxlog [-f] [-n] [-o oid] [-x xid] [-e xid_epoch] [-m mxid] [-O mxoff] [-l timelineid,fileid,seg] datadir
>>
>> In HEAD, what -l option of pg_resetxlog allows to be set is a WAL file name.
>> So 'timelineid,fileid,seg' part should be changed to 'xlogfile'. Patch attached.
>> I chose the term 'xlogfile' here because it's used in help message of
>> pg_resetxlog.
>
> Does anyone pick up and commit this to HEAD?
>
> Regards,
>
> --
> Fujii Masao
>
>
> --
> Sent via pgsql-docs mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs



-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2013-01-01 15:17 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-10-24 14:54 pg_resetxlog -l Fujii Masao <[email protected]>
2012-12-25 16:52 ` Fujii Masao <[email protected]>
2013-01-01 15:17   ` Magnus Hagander <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox