pgAgent commit: Set 'succeeded' flag to true/false by checking for the

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAgent commit: Set 'succeeded' flag to true/false by checking for the
Date: 2015-12-01 06:12:00
Message-ID: E1a3eAS-0004SF-E7@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)mehta(at)enterprisedb(dot)com>

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

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2015-12-01 09:22:47 Re: pgagent job failing to halt on failed step
Previous Message Sanket Mehta 2015-12-01 05:36:32 pgagent job failing to halt on failed step