mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-13 11:53:59 +02:00
PGPRO-2065: cancel connection during interrupt
This commit is contained in:
parent
79cc076a0c
commit
2b969c43c7
@ -405,7 +405,10 @@ pgut_execute_parallel(PGconn* conn,
|
||||
{
|
||||
|
||||
if (interrupted)
|
||||
{
|
||||
pgut_cancel(conn);
|
||||
elog(ERROR, "interrupted");
|
||||
}
|
||||
|
||||
if (!PQconsumeInput(conn))
|
||||
elog(ERROR, "query failed: %squery was: %s",
|
||||
|
Loading…
Reference in New Issue
Block a user