Re: per backend WAL statistics

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)anarazel(dot)de>, Xuneng Zhou <xunengzhou(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: per backend WAL statistics
Date: 2025-03-12 11:32:46
Message-ID: Z9Fw3nwFY3777G0W@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 12, 2025 at 05:37:11AM +0000, Bertrand Drouvot wrote:
> Thanks for the report! I think that it's better to remove the PendingBackendStats
> initializer (instead of adding extra braces). The reason is that I'm concerned
> about padding bytes (that could be added to the struct in the future) not being
> zeroed (see [1]).

Okay. I am going to remove this initialization in a couple of minutes
as that's more annoying than I thought.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2025-03-12 11:34:01 Re: Logical Replication of sequences
Previous Message Dean Rasheed 2025-03-12 11:02:14 Re: INSERT ... ON CONFLICT DO SELECT [FOR ...] take 2