Re: Add n_tup_newpage_upd to pg_stat table views - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: Add n_tup_newpage_upd to pg_stat table views
Date
Msg-id CADkLM=fgX_yVnNOARQRGjPZ_9ULQZTDbcv0apYuQkjSwk=d4hg@mail.gmail.com
Whole thread Raw
In response to Re: Add n_tup_newpage_upd to pg_stat table views  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: Add n_tup_newpage_upd to pg_stat table views  (Peter Geoghegan <pg@bowt.ie>)
List 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.
 

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: Error "initial slot snapshot too large" in create replication slot
Next
From: Amit Kapila
Date:
Subject: Re: Allow logical replication to copy tables in binary format