]> granicus.if.org Git - postgresql/commit
Fix query cancellation.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 7 Dec 2016 07:47:43 +0000 (09:47 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 7 Dec 2016 07:47:43 +0000 (09:47 +0200)
commit81f2e514a9b2d813bb5fd6b62523757aa7a6517f
treea22d2046bda98aa42adf2eb4ff84879b43de3883
parent9790b87f594565c11599b2004466169b8c2fd4af
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.
src/backend/postmaster/postmaster.c