Re: Usage of pg_waldump - Mailing list pgsql-bugs

From Andres Freund
Subject Re: Usage of pg_waldump
Date
Msg-id 20180501162630.ht426rxwfmqxg74j@alap3.anarazel.de
Whole thread Raw
In response to Usage of pg_waldump  (Dang Minh Huong <kakalot49@gmail.com>)
Responses Re: Usage of pg_waldump
Re: Usage of pg_waldump
List pgsql-bugs
Hi,

On 2018-05-01 16:41:04 +0900, Dang Minh Huong wrote:
> The syntax is known as,
> 
>   pg_waldump [OPTION]... [STARTSEG [ENDSEG]]
> 
> Mean that, it could work with no arguments.
> But the "no arguments specified" ERROR will be returned in that case.
> 
>   $ pg_waldump
>   pg_waldump: no arguments specified
>   Try "pg_waldump --help" for more information.
> 
> I wonder it should be,
> 
>   pg_waldump { OPTION... [STARTSEG [ENDSEG]] } | { [OPTION]... STARTSEG [ENDSEG] }
> 
> Have any comments?

To me that doesn't seem like an improvement, looks a good chunk more
complicated. You'll get the error and the docs also tell you that some
arguments are needed.

Greetings,

Andres Freund


pgsql-bugs by date:

Previous
From: Stephen Frost
Date:
Subject: Re: BUG #15180: Alter table add column if not exists with uniqueconstraint will add extra duplicate
Next
From: "David G. Johnston"
Date:
Subject: Re: Usage of pg_waldump