pgAgent commit: Set 'succeeded' flag to true/false by checking for the - Mailing list pgadmin-hackers

From Ashesh Vashi
Subject pgAgent commit: Set 'succeeded' flag to true/false by checking for the
Date
Msg-id E1a3eAS-0004SF-E7@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Set 'succeeded' flag to true/false by checking for the step failure
everytime (it gets executed).

These was an issue with the current implementation.

Once the 'succeeded' flag is set to true, the following batch step
execution does not stop executiong of following steps on failure, even
we have set 'onerror' to 'f' for that step.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgagent.git;a=commitdiff;h=01b72d867cc2bdbaff1765499a6395f7bc94e2be
Author: Sanket Mehta <sanket.mehta@enterprisedb.com>

Modified Files
--------------
job.cpp |    4 +---
1 file changed, 1 insertion(+), 3 deletions(-)


pgadmin-hackers by date:

Previous
From: Sanket Mehta
Date:
Subject: pgagent job failing to halt on failed step
Next
From: Dave Page
Date:
Subject: Re: pgagent job failing to halt on failed step