Re: Add n_tup_newpage_upd to pg_stat table views

Corey Huinker <corey.huinker@gmail.com>

From: Corey Huinker <corey.huinker@gmail.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: pgsql-hackers@postgresql.org
Date: 2023-03-23T05:38:42Z
Lists: pgsql-hackers
>
>
> * No more dedicated struct to carry around the type of an update.
>
> We just use two boolean arguments to the pgstats function instead. The
> struct didn't seem to be adding much, and it was distracting to track
> the information this way within heap_update().
>

That's probably a good move, especially if we start tallying updates that
use TOAST.

Commits

  1. Count updates that move row to a new page.