Re: Fix pg_stat_reset_single_table_counters function
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: Masahiro Ikeda <ikedamsh@oss.nttdata.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:34:26Z
Lists: pgsql-hackers
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. -- Michael
Commits
-
Fix pg_stat_reset_single_table_counters() for shared relations
- ad8753a3a717 15.5 landed
- d6af45052dc8 16.0 landed
- 6fde2d9a005a 17.0 landed