Cancel a query.
От
Rob Brown-Bayliss
Тема
Cancel a query.
Дата
Msg-id
AANLkTimfAah_TDMLfcOJ2R0T1FmUhb43f0tf3R8Zkhn=@mail.gmail.com
Список
Дерево обсуждения
Cancel a query. Rob Brown-Bayliss <r.brown.bayliss@gmail.com>
Re: Cancel a query. Matthieu Huin <matthieu.huin@wallix.com>
Re: Cancel a query. Vick Khera <vivek@khera.org>
Hi I have some code using psycopg in python. Connecting in async mode. I am trying to catch time outs etc, basically after a set amount of time I am assuming something has failed. I then want to use "select pg_cancel_backend(15209);" to cancel the query. But I can't unless I am connected as the postgres super user. How can I get my app to cancel one of it's own queries while logged on as a normal user? Thanks. -- Rob
В списке pgsql-general по дате отправления