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

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

Dan Kortschak <dan(dot)kortschak(at)adelaide(dot)edu(dot)au> writes:
> From working through things with the torque list, it seems to be the
> case that postgresql is behaving differently because it is not attached
> to a terminal (this has caused problems for others on that list with
> sqlite and mysql).

That seems unlikely. My best guess at this point is that for some
reason the torque scripts are failing to wait for psql to exit.
You might possibly be able to confirm or deny this by watching the
whole process tree with "strace -f" or local equivalent.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-12-09 05:28:25 Re: how to ensure a client waits for a previous transaction to finish?
Previous Message Tom Lane 2009-12-09 03:53:41 Re: Installing PL/pgSQL by default