Re: Improve description of XLOG_RUNNING_XACTS

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: Improve description of XLOG_RUNNING_XACTS
Дата
Msg-id 20220721.162944.256232039087599002.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: Improve description of XLOG_RUNNING_XACTS  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Ответы Re: Improve description of XLOG_RUNNING_XACTS  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Erik Rijkers
Дата:
Сообщение: Re: Schema variables - new implementation for Postgres 15
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: Schema variables - new implementation for Postgres 15