doc: fix pg_get_multixact_stats() num_mxids type (integer -> bigint)

Поиск
Список
Период
Сортировка
Искать

doc: fix pg_get_multixact_stats() num_mxids type (integer -> bigint)

От:
Naeem Akhter <naeem.akhter@percona.com>
Дата:
Вложения:
Hi hackers,

func-info.sgml documents the num_mxids column of
pg_get_multixact_stats() as integer, but pg_proc.dat declares it int8
(bigint), and has since the function was added (97b101776ce). The
attached one-line patch fixes the doc.

The same doc text is reported in REL_19_STABLE, so this likely needs a
backpatch to 19 (I only checked master).

Regards,
Naeem Akhter
Percona

Re: doc: fix pg_get_multixact_stats() num_mxids type (integer -> bigint)

От:
Naga Appani <nagnrik@gmail.com>
Дата:
On Thu, Oct 15, 2026 at 11:13 AM Naeem Akhter  wrote:
>
> func-info.sgml documents the num_mxids column of
> pg_get_multixact_stats() as integer, but pg_proc.dat declares it int8
> (bigint), and has since the function was added (97b101776ce). The
> attached one-line patch fixes the doc.
>
> The same doc text is reported in REL_19_STABLE, so this likely needs a
> backpatch to 19 (I only checked master).
>
Thanks for catching this and for the patch, Naeem! num_mxids is declared
int8 in pg_proc.dat, so "integer" in the docs was incorrect.

+1 on the backpatch to 19.

Thanks,
Naga


Re: doc: fix pg_get_multixact_stats() num_mxids type (integer -> bigint)

От:
Fujii Masao <masao.fujii@gmail.com>
Дата:
On Fri, Oct 16, 2026 at 1:53 AM Naga Appani  wrote:
> Thanks for catching this and for the patch, Naeem! num_mxids is declared
> int8 in pg_proc.dat, so "integer" in the docs was incorrect.

Shinoda-san previously reported the same issue and proposed a fix [1],
but seems the patch was not committed unfortunately. Anyway, this fix
looks good to me, so I'll commit it.

Regards,

[1] https://postgr.es/m/LV8PR84MB3787CF6E56DCC99AE23E712EEE242@LV8PR84MB3787.NAMPRD84.PROD.OUTLOOK.COM

-- 
Fujii Masao


Re: doc: fix pg_get_multixact_stats() num_mxids type (integer -> bigint)

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
On Fri, Oct 16, 2026 at 02:32:48AM +0900, Fujii Masao wrote:
> Shinoda-san previously reported the same issue and proposed a fix [1],
> but seems the patch was not committed unfortunately. Anyway, this fix
> looks good to me, so I'll commit it.

Thanks!  The doc change sounds good here.
--
Michael

Re: doc: fix pg_get_multixact_stats() num_mxids type (integer -> bigint)

От:
Fujii Masao <masao.fujii@gmail.com>
Дата:
On Fri, Oct 16, 2026 at 1:09 PM Michael Paquier  wrote:
> Thanks!  The doc change sounds good here.

I've pushed the patch. Thanks!

Regards,

-- 
Fujii Masao


FAQ