Re: Refactor GetLockStatusData() by skipping unused backends and groups

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Refactor GetLockStatusData() by skipping unused backends and groups
Date: 2024-10-24 15:23:15
Message-ID: 948fd11c-cd13-4b29-98e3-0ca163537d42@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2024/10/24 11:12, Bertrand Drouvot wrote:
>> So, probably
>> we can consider that this check is already in place. If it’s still worth adding,
>> perhaps placing it inside the FAST_PATH_SLOT() macro could be an option...
>> Or current assertion check is enough? Thought?
>
> Given that it's already done in FAST_PATH_GET_BITS(), I think that's fine as it
> is and v2 LGTM.

Thanks for the review! Pushed.

Regards,

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tender Wang 2024-10-24 15:27:31 Re: [BUG] Fix DETACH with FK pointing to a partitioned table fails
Previous Message Laurenz Albe 2024-10-24 15:22:16 Re: Inconsistent use of relpages = -1