Re: Remove unused 'len' from pg_stat_recv_* functions

2021-08-03 Thread Andres Freund
On 2021-08-03 16:56:12 +0900, Masahiko Sawada wrote: > On Tue, Aug 3, 2021 at 3:17 PM Kyotaro Horiguchi > wrote: > > > > At Tue, 3 Aug 2021 12:40:23 +0900, Masahiko Sawada > > wrote in > > > Hi all, > > > > > > While working on a patch adding new stats, houzj pointed out that > > > 'len' functio

Re: Remove unused 'len' from pg_stat_recv_* functions

2021-08-03 Thread Masahiko Sawada
On Tue, Aug 3, 2021 at 3:17 PM Kyotaro Horiguchi wrote: > > At Tue, 3 Aug 2021 12:40:23 +0900, Masahiko Sawada > wrote in > > Hi all, > > > > While working on a patch adding new stats, houzj pointed out that > > 'len' function arguments of all pgstat_recv_* functions are not used > > at all. Loo

Re: Remove unused 'len' from pg_stat_recv_* functions

2021-08-02 Thread Kyotaro Horiguchi
At Tue, 3 Aug 2021 12:40:23 +0900, Masahiko Sawada wrote in > Hi all, > > While working on a patch adding new stats, houzj pointed out that > 'len' function arguments of all pgstat_recv_* functions are not used > at all. Looking at git history, pgstat_recv_* functions have been > having ‘len’ s