Re: When the trigger is called my application is awaiting the finish - Mailing list pgsql-general

From Jasen Betts
Subject Re: When the trigger is called my application is awaiting the finish
Date
Msg-id if12oo$sag$1@reversiblemaps.ath.cx
Whole thread Raw
In response to When the trigger is called my application is awaiting the finish  ("felipe@informidia.com.br" <felipe@informidia.com.br>)
List pgsql-general
On 2010-12-16, felipe@informidia.com.br <felipe@informidia.com.br> wrote:
> This is a multi-part message in MIME format.
> --------------080402070005010104020405
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: quoted-printable
>
> Hello,
> I'm having a problem running an update command that invokes a trigger,=20
> the problem is that the function performed takes about 45 minutes to=20
> finish and my application is locked waiting for the finish.
> You know how I can't wait for the end?

If you don't care if the update succeeds or not, just don't do the update.
if you do care you need to wait.

Perhaps there's a way yo make the trigger faster.

--
⚂⚃ 100% natural

pgsql-general by date:

Previous
From: "Alfred"
Date:
Subject: Stitch Large Panorama
Next
From: Jasen Betts
Date:
Subject: Re: Data backup to local duplicate without resetting permissions