Re: Data type correction in pgstat_report_replslot function parameters

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Data type correction in pgstat_report_replslot function parameters
Дата
Msg-id e80503a5-c9ef-469f-0e63-25a4b193165e@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: Data type correction in pgstat_report_replslot function parameters  (Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>)
Ответы Re: Data type correction in pgstat_report_replslot function parameters
Список pgsql-hackers

On 2021/04/02 2:18, Jeevan Ladhe wrote:
> 
> 
> On Thu, Apr 1, 2021 at 10:20 PM vignesh C <vignesh21@gmail.com <mailto:vignesh21@gmail.com>> wrote:
> 
>     Hi,
> 
>     While I was reviewing replication slot statistics code, I found one
>     issue in the data type used for pgstat_report_replslot function
>     parameters. We pass int64 variables to the function but the function
>     prototype uses int type. I I felt the function parameters should be
>     int64. Attached patch fixes the same.

Isn't it better to use PgStat_Counter instead of int64?

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: libpq debug log
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?