DG47 commented on PR #75975:
URL: https://github.com/apache/airflow/pull/75975#issuecomment-7222441081

   On psycopg2, `PostgresHook` can't run `on_kill` or raise `execution_timeout` 
until a statement returns, so this installs a `psycopg2.extras.wait_select` 
wait callback for the duration of the statement and cancels it from there. Only 
commit 00ea612612 is new, since the branch is stacked on the 
`DbApiHook.cancel_query()` PR. Could you review it, @dabla?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to