Re: pgsql: Replace PostmasterRandom() with a stronger source, second attemp

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: pgsql: Replace PostmasterRandom() with a stronger source, second attemp
Дата
Msg-id c8aeac67-d964-5559-8ead-f08f41df0467@iki.fi
обсуждение исходный текст
Ответ на Re: pgsql: Replace PostmasterRandom() with a stronger source, second attemp  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-committers
On 12/07/2016 02:30 AM, Michael Paquier wrote:
> With the logs complaining as well:
> [1-1] db=[unknown],user=[unknown],app=[unknown],client=[local] LOG:
> wrong key in cancel request for process 57361
>
> As far as I can see processCancelRequest uses a long variable, and it
> gets compared with an int32. MyCancelKey has been changed to an int32
> in globals.c with the above commit. So on 64b machines the current
> code is aimed to fail. Attached is a patch to fix the issue.

Pushed, thanks!

- Heikki



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix query cancellation.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Handle empty or all-blank PAGER setting more sanely in psql.