| От | Tom Lane |
|---|---|
| Тема | Re: Use MaxLockMode in lock methods initialization |
| Дата | |
| Msg-id | 3597997.1641230838@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Use MaxLockMode in lock methods initialization (Michael Paquier <michael@paquier.xyz>) |
| Список | pgsql-hackers |
Michael Paquier <michael@paquier.xyz> writes:
> On Mon, Jan 03, 2022 at 02:47:22PM +0800, Julien Rouhaud wrote:
>> 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.
> Makes sense to me. MaxLockMode is here for the same purpose as this
> initialization area.
Agreed. That aspect of b04aeb0a053e7 was a bit of a quick hack,
and it didn't occur to me to look for other places where the symbol
could be used. But these two places are spot-on for it.
Pushed with a bit of comment-fiddling.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера