Re: Multiple pg_waldump --rmgr options

Kyotaro Horiguchi <horikyota.ntt@gmail.com>

From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: rjuju123@gmail.com
Cc: hlinnaka@iki.fi, pgsql-hackers@postgresql.org
Date: 2021-05-19T02:50:52Z
Lists: pgsql-hackers
At Tue, 18 May 2021 23:23:02 +0800, Julien Rouhaud <rjuju123@gmail.com> wrote in 
> On Tue, May 18, 2021 at 04:50:31PM +0300, Heikki Linnakangas wrote:
> > That didn't do what I wanted. It only printed the Heap2 records, not Heap,
> > even though I specified both. The reason is that if you specify multiple
> > --rmgr options, only the last one takes effect.
> > 
> > I propose the attached to allow selecting multiple rmgrs, by giving multiple
> > --rmgr options. With that, it works the way I expected:
> 
> The change and the patch look sensible to me.

+1.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



Commits

  1. Allow specifying pg_waldump --rmgr option multiple times.