Re: Improve description of XLOG_RUNNING_XACTS - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: Improve description of XLOG_RUNNING_XACTS
Date
Msg-id 20220721.162944.256232039087599002.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: Improve description of XLOG_RUNNING_XACTS  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Responses Re: Improve description of XLOG_RUNNING_XACTS
List pgsql-hackers
At Thu, 21 Jul 2022 11:21:09 +0900, Fujii Masao <masao.fujii@oss.nttdata.com> wrote in 
> 
> 
> On 2022/07/21 10:13, Masahiko Sawada wrote:
> > Hi,
> > I realized that standby_desc_running_xacts() in standbydesc.c doesn't
> > describe subtransaction XIDs. I've attached the patch to improve the
> > description.
> 
> +1
> 
> The patch looks good to me.

The subxids can reach TOTAL_MAX_CACHED_SUBXIDS =
PGPROC_MAX_CACHED_SUBXIDS(=64) * PROCARRAY_MAXPROCS. xact_desc_commit
also shows subtransactions but they are at maximum 64.  I feel like
-0.3 if there's no obvious advantage showing them.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Erik Rijkers
Date:
Subject: Re: Schema variables - new implementation for Postgres 15
Next
From: Julien Rouhaud
Date:
Subject: Re: Schema variables - new implementation for Postgres 15