pgsql: Fix query cancellation.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix query cancellation.
Date: 2016-12-07 07:48:21
Message-ID: E1cEWxh-000761-TR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix query cancellation.

In commit fe0a0b59, the datatype used for MyCancelKey and other variables
that store cancel keys were changed from long to uint32, but I missed this
one. That broke query cancellation on platforms where long is wider than 32
bits.

Report by Andres Freund, fix by Michael Paquier.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/81f2e514a9b2d813bb5fd6b62523757aa7a6517f

Modified Files
--------------
src/backend/postmaster/postmaster.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2016-12-07 07:49:03 Re: pgsql: Replace PostmasterRandom() with a stronger source, second attemp
Previous Message Heikki Linnakangas 2016-12-07 06:42:49 Re: pgsql: Replace PostmasterRandom() with a stronger source, second attemp