Re: Fix pg_stat_reset_single_table_counters function

Masahiro Ikeda <ikedamsh@oss.nttdata.com>

From: Masahiro Ikeda <ikedamsh@oss.nttdata.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, Masahiko Sawada <sawada.mshk@gmail.com>, Andres Freund <andres@anarazel.de>, pgsql-hackers@lists.postgresql.org, mitsuru.hinata.5432@gmail.com
Date: 2023-08-21T04:38:45Z
Lists: pgsql-hackers
On 2023-08-21 13:34, Michael Paquier wrote:
> On Mon, Aug 21, 2023 at 11:33:28AM +0900, Kyotaro Horiguchi wrote:
>> I'm not sure about others, but I would avoid using the name
>> "current_database" for the variable.
> 
> Agreed.  Looking at the surroundings, we have for example "datname" in
> the collation tests so I have just used that, and applied the patch
> down to 15.

Thanks!

Regards,
-- 
Masahiro Ikeda
NTT DATA CORPORATION



Commits

  1. Fix pg_stat_reset_single_table_counters() for shared relations