Re: 8.1.2 select for update issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.1.2 select for update issue
Date: 2007-08-06 19:22:29
Message-ID: 1233.1186428149@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ed L." <pgsql(at)bluepolka(dot)net> writes:
> We're seeing some unexpected behavior in one particular 64-bit
> Pgsql 8.1.2 running on HP-UX 11.23 and Itanium 2, built
> with --enable-thread-safety. We think we are seeing concurrent
> select-for-updates of the same rows by multiple concurrent
> backends, contrary to our understanding of select-for-update
> semantics.

You really ought to be using something newer than 8.1.2. However
I don't see anything directly related in the release notes.

You do have a transaction block established around this whole process?
Row locks only last as long as the current transaction ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message korry.douglas 2007-08-06 19:26:43 Re: Procedural Code Profiling
Previous Message Jasbinder Singh Bali 2007-08-06 19:17:41 Re: new line in psotgres