Re: fe-utils - share query cancellation code - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: fe-utils - share query cancellation code
Date
Msg-id alpine.DEB.2.21.1911061029540.5547@lancre
Whole thread Raw
In response to Re: fe-utils - share query cancellation code  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: fe-utils - share query cancellation code
List pgsql-hackers
> It looks like don't define sigint_interrupt_jmp and 
> sigint_interrupt_enabled on Windows, yet they are still declared and 
> referenced?

Indeed, I put it on the wrong side of a "#ifndef WIN32".

Basically it is a false constant under WIN32, which it seems does not have 
sigint handler, but the code checks whether the non existent handler is 
enabled anyway.

Patch v5 attached fixes that, hopefully.

-- 
Fabien.
Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Checking return value of SPI_execute
Next
From: Dilip Kumar
Date:
Subject: Re: [HACKERS] Block level parallel vacuum