Re: What does "tuple concurrently updated" mean?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: pgsql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: What does "tuple concurrently updated" mean?
Date: 2005-04-25 17:02:50
Message-ID: 21177.1114448570@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Florian G. Pflug" <fgp(at)phlo(dot)org> writes:
> So - does "tuple concurrently updated" make sense for "analyze"?

Yeah, it's entirely possible, if you have a background process that
might issue analyzes too (do you use autovacuum?). The error comes when
two sessions concurrently try to update the same row in pg_statistic.
I've looked at preventing it, but the cure seems worse than the disease
--- we don't really want ANALYZE to take any strong locks on the table,
and in any case all you are losing is presumably-near-duplicate stats
from one session or the other.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Florian G. Pflug 2005-04-25 17:15:52 Re: What does "tuple concurrently updated" mean?
Previous Message Florian G. Pflug 2005-04-25 16:56:40 Re: What does "tuple concurrently updated" mean?