Thread: pg_resetxlog -l
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
Attachment
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
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/