From: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
---|---|
To: | vignesh C <vignesh21(at)gmail(dot)com> |
Cc: | Jeevan Ladhe <jeevan(dot)ladhe(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Data type correction in pgstat_report_replslot function parameters |
Date: | 2021-04-02 08:29:26 |
Message-ID: | 06a495c6-aeaf-a8f6-168e-bc2ce7939924@oss.nttdata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2021/04/02 11:20, vignesh C wrote:
> On Thu, Apr 1, 2021 at 11:18 PM Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> wrote:
>>
>>
>>
>> On 2021/04/02 2:18, Jeevan Ladhe wrote:
>>>
>>>
>>> On Thu, Apr 1, 2021 at 10:20 PM vignesh C <vignesh21(at)gmail(dot)com <mailto:vignesh21(at)gmail(dot)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?
>>
>
> Thanks for your comment, the updated patch contains the changes for it.
Thanks for updating the patch! Pushed.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2021-04-02 08:45:21 | badly calculated width of emoji in psql |
Previous Message | SATYANARAYANA NARLAPURAM | 2021-04-02 08:23:02 | why pg_walfile_name() cannot be executed during recovery? |