> Right, the actual signal handler will only kill the query immediately
> if the backend is in a safe state (eg, while it's waiting for a
> heavyweight lock).  Otherwise it just sets a flag that's checked by
> CHECK_FOR_INTERRUPTS.  See StatementCancelHandler in postgres.c.

Roger that, I will definitely have a look and ask if I have any questions.

Thanks a ton!

Regards,

Atri

--
Regards,

Atri
l'apprenant


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to