Re: ERROR: tuple concurrently updated - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: ERROR: tuple concurrently updated
Date
Msg-id 20061221155246.GK24675@kenobi.snowman.net
Whole thread Raw
In response to Re: ERROR: tuple concurrently updated  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > I havn't built a reliable test case yet but I *think* the tuple
> > concurrently updated problem is with an analyze being run inside of a
> > function and also being run by autovacuum.
>
> If so it should be fixed as of 8.2 --- I believe we changed the locking
> rules to ensure only one ANALYZE at a time for any one table.
[...]
> I think we've got a solution for that in 8.2, also --- at least, the
> only common case I know of should be fixed, namely where a RENAME or
> similar has caused the same table name to be assigned to a new OID.

Great!  These were on 8.1 and I was actually just working to try and
reproduce them on 8.2 (without success so far!).  I'll see about
upgrading the production systems to 8.2 soon and will let ya'll know if
I see them again there.
Thanks!
    Stephen

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: column ordering, was Re: [PATCHES] Enums patch v2
Next
From: Dave Page
Date:
Subject: Re: Interface for pg_autovacuum