Re: How can I stop a long run pgAgent job? - Mailing list pgsql-general

From Fabio Pardi
Subject Re: How can I stop a long run pgAgent job?
Date
Msg-id b30d0b27-6010-be67-04de-c0b14627d505@portavita.eu
Whole thread Raw
In response to How can I stop a long run pgAgent job?  ("a" <372660931@qq.com>)
Responses Re: How can I stop a long run pgAgent job?  (Adam Brusselback <adambrusselback@gmail.com>)
List pgsql-general

Hi Shore,

Have a look at:

https://www.postgresql.org/docs/current/static/functions-admin.html

'pg_terminate_backend' is probably what you are looking for

regards,

fabio pardi

On 21/06/18 11:32, a wrote:
Hi 

I'm using pgAdmin 4, pgAgent and postgresql 10 on windows server.

I tried a job but due to some reasons, its running long time. Is there a way that I can terminate it ??

Thanks

Shore

pgsql-general by date:

Previous
From: "a"
Date:
Subject: How can I stop a long run pgAgent job?
Next
From: Adrian Klaver
Date:
Subject: Re: Using DSN Connection and knowing windows username