Re: use `proc->pgxactoff` as the value of `index` in `ProcArrayRemove()`

Поиск
Список
Период
Сортировка
От 盏一
Тема Re: use `proc->pgxactoff` as the value of `index` in `ProcArrayRemove()`
Дата
Msg-id tencent_266A74223032496338317CC7@qq.com
обсуждение исходный текст
Ответ на use `proc->pgxactoff` as the value of `index` in `ProcArrayRemove()`  ("盏一" <w@hidva.com>)
Список pgsql-hackers

Ok! Thanks
----------



--------------原始邮件--------------
发件人:"Andres Freund "<andres@anarazel.de>;
发送时间:2021年6月12日(星期六) 中午12:43
收件人:"盏一" <w@hidva.com>;
抄送:"pgsql-hackers "<pgsql-hackers@postgresql.org>;
主题:Re: use `proc->pgxactoff` as the value of `index` in `ProcArrayRemove()`
-----------------------------------

Hi,

On 2021-05-07 04:36:25 +0800, 盏一 wrote:
> &gt;&nbsp;Sounds like a plan! Do you want to write a patch?
> Add the patch.

Thanks for the patch. I finally pushed an edited version of it. There
were other loops over ->pgprocnos, so I put assertions in those - that
gains us a a good bit more checking than we had before...

I also couldn't resist to do some small formatting cleanups - I found
the memmove calls just too hard to read.

I took the authorship information as you had it in the diff you attached
- I hope that's OK?

Greetings,

Andres Freund

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: use `proc->pgxactoff` as the value of `index` in `ProcArrayRemove()`
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Schema variables - new implementation for Postgres 15