Re: how to ensure a client waits for a previous transaction to finish?

From: Dan Kortschak <dan(dot)kortschak(at)adelaide(dot)edu(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to ensure a client waits for a previous transaction to finish?
Date: 2009-12-07 21:23:46
Message-ID: 1260221026.10944.14.camel@epistle
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks for that, that should help me sort it out. I haven't used the
autocommit option in pgdbi. I'll have a look to see if DBI::do has an
option to wait for command completion.

cheers

On Mon, 2009-12-07 at 16:12 -0500, Tom Lane wrote:
> It's not. What you want is to COMMIT and make sure you've gotten the
> command completion response for that. Possibly perl is complicating
> matters with some sort of autocommit logic behind your back.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2009-12-07 21:25:38 Re: how to ensure a client waits for a previous transaction to finish?
Previous Message Dan Kortschak 2009-12-07 21:21:08 Re: how to ensure a client waits for a previous transaction to finish?