From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Michael Paquier <michael.paquier@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Replace PostmasterRandom() with a stronger source, second attemp
Date: Wed, 7 Dec 2016 09:49:03 +0200
Message-ID: <c8aeac67-d964-5559-8ead-f08f41df0467@iki.fi> (raw)
In-Reply-To: <CAB7nPqQ3FMg=OUZM99PNtpZgQLxGEHPbStJ2f7X-xdOAtZAonQ@mail.gmail.com>
References: <E1cDrhF-0002Wp-PR@gemulon.postgresql.org>
<20161206224607.64x6vn2kgb76y4ng@alap3.anarazel.de>
<CAB7nPqQ3FMg=OUZM99PNtpZgQLxGEHPbStJ2f7X-xdOAtZAonQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: hlinnaka@iki.fi, michael.paquier@gmail.com, andres@anarazel.de
Subject: Re: pgsql: Replace PostmasterRandom() with a stronger source, second attemp
In-Reply-To: <c8aeac67-d964-5559-8ead-f08f41df0467@iki.fi>
References: <E1cDrhF-0002Wp-PR@gemulon.postgresql.org> <20161206224607.64x6vn2kgb76y4ng@alap3.anarazel.de> <CAB7nPqQ3FMg=OUZM99PNtpZgQLxGEHPbStJ2f7X-xdOAtZAonQ@mail.gmail.com> <c8aeac67-d964-5559-8ead-f08f41df0467@iki.fi>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox