Re: Tuple concurrency issue in large objects - Mailing list pgsql-general

From Daniel Verite
Subject Re: Tuple concurrency issue in large objects
Date
Msg-id 6afceeda-e645-4892-8cd6-a5bd1fea54bd@manitou-mail.org
Whole thread Raw
In response to Re: Tuple concurrency issue in large objects  (Shalini <shalini@saralweb.com>)
List pgsql-general
    Shalini wrote:

> >     Is there a workaround to this concurrency issue without creating a
> >     new   large object?

The transaction failing with the "Tuple concurrently updated"
error could be resubmitted by the client, as if it was a
serialization failure.
Or the failure could be prevented by using advisory locks:
https://www.postgresql.org/docs/current/explicit-locking.html


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite



pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: How to Change collate & ctype for an existing database?
Next
From: İlyas Derse
Date:
Subject: Is there an equivalent to sp_getapplock, sp_releaseapplock in PostgreSql?