pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Job <Job@colliniconsulting.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Problem with row-level lock
Date: Thu, 20 Jun 2019 07:49:20 -0700
Message-ID: <c970db21-1ab7-13b5-0290-0a36aca7119f@aklaver.com> (raw)
In-Reply-To: <88EF58F000EC4B4684700C2AA3A73D7A082D27F19C06@W2008DC01.ColliniConsulting.lan>
References: <88EF58F000EC4B4684700C2AA3A73D7A082D27F19C04@W2008DC01.ColliniConsulting.lan>
	<88EF58F000EC4B4684700C2AA3A73D7A082D27F19C06@W2008DC01.ColliniConsulting.lan>

On 6/19/19 9:06 AM, Job wrote:
> Hi guys,
> 
> i am struggling with a problem due, sometime, to a double concurrent update on the same row of a table.

What is the error message you get?

> 
> Since the client application cannot be control, i need to manage - in order to avoid this situation - the lock of a record due to two updates at the same time.
> Is there way to force serializing, i don't know how, the updates on the same row in order to avoid this locks?
> 
> Thank you, cheers!
> 
> FC
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (2+ messages)

Message-ID: <c970db21-1ab7-13b5-0290-0a36aca7119f@aklaver.com>
Permalink:  ../c970db21-1ab7-13b5-0290-0a36aca7119f@aklaver.com/
Also on:    postgresql.org/message-id/c970db21-1ab7-13b5-0290-0a36aca7119f@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, Job@colliniconsulting.com
  Subject: Re: Problem with row-level lock
  In-Reply-To: <c970db21-1ab7-13b5-0290-0a36aca7119f@aklaver.com>
  References: <88EF58F000EC4B4684700C2AA3A73D7A082D27F19C04@W2008DC01.ColliniConsulting.lan> <88EF58F000EC4B4684700C2AA3A73D7A082D27F19C06@W2008DC01.ColliniConsulting.lan> <c970db21-1ab7-13b5-0290-0a36aca7119f@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox