1
0
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:
Grigory Smolkin 2019-04-02 19:29:47 +03:00
parent 79cc076a0c
commit 2b969c43c7

View File

@ -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",