Transactions in PGAgent Jobs - Mailing list pgadmin-support

From David Greco
Subject Transactions in PGAgent Jobs
Date
Msg-id 09e02951e5f042f7aecce3d92d7a86c1@DM2PR08MB302.namprd08.prod.outlook.com
Whole thread Raw
List pgadmin-support
<div class="WordSection1"><p class="MsoNormal">How does one deal with transactions in PGAgent jobs? I have many
scenarioswhere I will loop through a set of data, run a function on each, and commit whatever succeeds or rollback
whateverfails. In Oracle, I was doing this with pl/sql scripts run via sqlplus and cron. In Postgres, I set them up as
pgAgentjobs but so far it is either committing or rolling back all. Since I cannot do any transactions within the
functionsbeing run by pgAgent, can the pgAgent step SQL contain support for them? <p class="MsoNormal"> <p
class="MsoNormal"> <pclass="MsoNormal"> <p class="MsoNormal"> </div> 

pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: Second message: "Problem generating database using pgAdmin III - PostgreSQL version is 9.1"
Next
From: Dave Page
Date:
Subject: Re: Second message: "Problem generating database using pgAdmin III - PostgreSQL version is 9.1"