Re: [DOCS] pg_xlogdump -p option correction

2017-01-10 Thread Bruce Momjian
On Tue, Jan 10, 2017 at 07:22:17AM +0900, Michael Paquier wrote: > On Tue, Jan 10, 2017 at 4:32 AM, Bruce Momjian wrote: > > On Sun, Jan 8, 2017 at 03:27:59PM +0900, Michael Paquier wrote: > >> >> +subdirectory of both the current directory and the > >> >> +PGDATA directory. > >>

Re: [DOCS] pg_xlogdump -p option correction

2017-01-09 Thread Michael Paquier
On Tue, Jan 10, 2017 at 4:32 AM, Bruce Momjian wrote: > On Sun, Jan 8, 2017 at 03:27:59PM +0900, Michael Paquier wrote: >> >> +subdirectory of both the current directory and the >> >> +PGDATA directory. >> >> This could say "of both the current directory and *then* the PGDATA >> >

Re: [DOCS] pg_xlogdump -p option correction

2017-01-09 Thread Bruce Momjian
On Sun, Jan 8, 2017 at 03:27:59PM +0900, Michael Paquier wrote: > >> +subdirectory of both the current directory and the > >> +PGDATA directory. > >> This could say "of both the current directory and *then* the PGDATA > >> directory" to outline the order of the actions taken by the

Re: [DOCS] pg_xlogdump -p option correction

2017-01-07 Thread Michael Paquier
On Sun, Jan 8, 2017 at 1:20 AM, Bruce Momjian wrote: > On Sat, Jan 7, 2017 at 09:50:32PM +0900, Michael Paquier wrote: >> >> 2) The documentation does not mention that if a directory is defined >> >> pg_xlogdump will try to look as well at defined_dir/pg_wal. >> > >> > Uh, I think it does in the

Re: [DOCS] pg_xlogdump -p option correction

2017-01-07 Thread Bruce Momjian
On Sat, Jan 7, 2017 at 09:50:32PM +0900, Michael Paquier wrote: > >> 2) The documentation does not mention that if a directory is defined > >> pg_xlogdump will try to look as well at defined_dir/pg_wal. > > > > Uh, I think it does in the first sentence: > > > > Directory in which to find l

Re: [DOCS] pg_xlogdump -p option correction

2017-01-07 Thread Michael Paquier
On Sat, Jan 7, 2017 at 10:02 AM, Bruce Momjian wrote: >> 1) pg_xlogdump --help should mention PGDATA as well for the default >> behavior, and should make clear the default and when -p is defined: >> -p, --path=PATHdirectory in which to find log segment files >> (

Re: [DOCS] pg_xlogdump -p option correction

2017-01-06 Thread Bruce Momjian
On Tue, Dec 27, 2016 at 01:28:17PM +0900, Michael Paquier wrote: > On Tue, Dec 27, 2016 at 6:56 AM, Bruce Momjian wrote: > > I have found that pg_xlogdump looks for WAL files in the in the current > > directory and the pg_wal subdirectory of both the current directory and > > the PGDATA directory

Re: [DOCS] pg_xlogdump -p option correction

2016-12-26 Thread Michael Paquier
On Tue, Dec 27, 2016 at 6:56 AM, Bruce Momjian wrote: > I have found that pg_xlogdump looks for WAL files in the in the current > directory and the pg_wal subdirectory of both the current directory and > the PGDATA directory. Doc patch attached. The whole behavior is listed in pg_xlogdump.c her

[DOCS] pg_xlogdump -p option correction

2016-12-26 Thread Bruce Momjian
I have found that pg_xlogdump looks for WAL files in the in the current directory and the pg_wal subdirectory of both the current directory and the PGDATA directory. Doc patch attached. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.