Re: Remove duplicated row in pg_largeobject_metadata

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tobias Meyer <t9m(at)qad(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Remove duplicated row in pg_largeobject_metadata
Date: 2021-09-22 19:16:23
Message-ID: 2223654.1632338183@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tobias Meyer <t9m(at)qad(dot)com> writes:
> I was able to correlate the transaction ids (xmin) of the duplicate rows in
> pg_largeobject_meta with times stored in another table, and found the
> duplicates were all added on one specific day, while the originals nicely
> spread out over time. I was further able to trace that date back to a
> cluster upgrade (pg_upgradecluster) we performed with that machine, so I
> guess we have a pretty good candidate. After the upgrade, no more
> duplicates were produced.

Interesting. Can you nail down the software versions that were in
use here? That'd be the old PG server version upgraded from, the
new server version upgraded to, the versions of pg_upgrade and
pg_dump (these probably should match the new server version, but
I'm not certain we enforce that), and the pg_upgradecluster
script version?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Israel Brewster 2021-09-22 20:05:22 Faster distinct query?
Previous Message Tobias Meyer 2021-09-22 19:10:34 Re: Remove duplicated row in pg_largeobject_metadata