public inbox for [email protected]
help / color / mirror / Atom feedFrom: Fujii Masao <[email protected]>
To: pgsql-docs <[email protected]>
Subject: pg_resetxlog -l
Date: Wed, 24 Oct 2012 23:54:42 +0900
Message-ID: <CAHGQGwGae+ZAccvoSpMkL+Sqsrif=sSs2g6EcgbbFEn4FS9cvw@mail.gmail.com> (raw)
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>
view thread (3+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: pg_resetxlog -l
In-Reply-To: <CAHGQGwGae+ZAccvoSpMkL+Sqsrif=sSs2g6EcgbbFEn4FS9cvw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox