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