Skip site navigation (1) Skip section navigation (2)

Re: Serialize transactions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ruslan A Dautkhanov <rusland(at)scn(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Serialize transactions
Date: 2003-01-05 04:47:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Ruslan A Dautkhanov <rusland(at)scn(dot)ru> writes:
> I have sometimes (rarely, once per some days) error during
> executting different queries in PostgreSQL:
>     ERROR:  Can't serialize access due to concurrent update
> All my transactions use

If you use serializable mode for updating transactions, you must expect
this error and deal with it (by retrying the transaction from the top).

This is discussed in the documentation, eg at

You might also find it useful to go through the slides from this talk:

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: pgsql-bugsDate: 2003-01-05 20:38:16
Subject: Bug #864: MOD(RANDOM(),1.0) don't work in 7.3.1
Previous:From: Ruslan A DautkhanovDate: 2003-01-05 04:08:10
Subject: Serialize transactions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group