Hi, When I read the documentation of pg_waldump, I found the description about -B option is wrong.
-B block --block=block Only display records that modify the given block. The relation must also be provided with --relation or -l. Before 52b5568, the -l option is short for --relation, however, it has been changed to -R, and we forgot to update the documentation. Here is a patch for it. -- Regrads, Japin Li. ChengDu WenWu Information Technology Co.,Ltd.
diff --git a/doc/src/sgml/ref/pg_waldump.sgml b/doc/src/sgml/ref/pg_waldump.sgml index 4e86f44c5b..1a05af5d97 100644 --- a/doc/src/sgml/ref/pg_waldump.sgml +++ b/doc/src/sgml/ref/pg_waldump.sgml @@ -85,7 +85,7 @@ PostgreSQL documentation <para> Only display records that modify the given block. The relation must also be provided with <option>--relation</option> or - <option>-l</option>. + <option>-R</option>. </para> </listitem> </varlistentry>