Use MaxLockMode in lock methods initialization

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Use MaxLockMode in lock methods initialization
Date: 2022-01-03 06:47:22
Message-ID: 20220103064722.ewdv4evlez5m7mdn@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

While reading some code around I noticed that b04aeb0a053e7 added a MaxLockMode
but didn't update the lock methods initialization. It shouldn't make much
difference in the long run but some consistency seems better to me.

Attachment Content-Type Size
0001-Use-MaxLockMode-in-LockMethodData-initialization.patch text/plain 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amul Sul 2022-01-03 06:59:04 Re: O(n) tasks cause lengthy startups and checkpoints
Previous Message houzj.fnst@fujitsu.com 2022-01-03 05:46:24 RE: Failed transaction statistics to measure the logical replication progress