Re: Add n_tup_newpage_upd to pg_stat table views

From: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add n_tup_newpage_upd to pg_stat table views
Date: 2023-03-23 05:38:42
Message-ID: CADkLM=fgX_yVnNOARQRGjPZ_9ULQZTDbcv0apYuQkjSwk=d4hg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2023-03-23 05:48:19 Re: Allow logical replication to copy tables in binary format
Previous Message Kyotaro Horiguchi 2023-03-23 05:23:05 Re: Error "initial slot snapshot too large" in create replication slot