Re: Add missing stats_reset column to pg_stat_database_conflicts view

Sami Imseih <samimseih@gmail.com>

From: Sami Imseih <samimseih@gmail.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Chao Li <li.evan.chao@gmail.com>, shihao zhong <zhong950419@gmail.com>, Kirill Reshke <reshkekirill@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-03-12T20:39:04Z
Lists: pgsql-hackers

Attachments

> I also made some cosmetic indentation fixes in the docs.
> The v6 patch is attached.

Just one more minor comment fix I noticed.

"Test that reset works for pg_stat_database"

to:

"Test that reset works for pg_stat_database and pg_stat_database_conflicts"

--
Sami

Commits

  1. Simplify redundant current_database() subqueries in stats.sql regression test

  2. Add stats_reset column to pg_stat_database_conflicts.