pg_resetxlog -l

Started by Fujii Masaoover 13 years ago3 messagesdocs
Jump to latest
#1Fujii Masao
masao.fujii@gmail.com

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:

pg_resetxlog_doc_v1.patchapplication/octet-stream; name=pg_resetxlog_doc_v1.patchDownload+2-2
#2Fujii Masao
masao.fujii@gmail.com
In reply to: Fujii Masao (#1)
Re: pg_resetxlog -l

On Wed, Oct 24, 2012 at 11:54 PM, Fujii Masao <masao.fujii@gmail.com> 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 (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#3Magnus Hagander
magnus@hagander.net
In reply to: Fujii Masao (#2)
Re: pg_resetxlog -l

Applied, thanks.

//Magnus

On Tue, Dec 25, 2012 at 5:52 PM, Fujii Masao <masao.fujii@gmail.com> wrote:

On Wed, Oct 24, 2012 at 11:54 PM, Fujii Masao <masao.fujii@gmail.com> 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 (pgsql-docs@postgresql.org)
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 (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs