public inbox for [email protected]  
help / color / mirror / Atom feed
From: Wim Rouquart <[email protected]>
To: Greg Sabino Mullane <[email protected]>
To: Adrian Klaver <[email protected]>
Cc: [email protected] <[email protected]>
Subject: RE: Index (primary key) corrupt?
Date: Tue, 10 Mar 2026 14:24:43 +0000
Message-ID: <AS2PR05MB10754848BE9C45CEF4F881D5AEF46A@AS2PR05MB10754.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <CAKAnmmJogm0T4vF5nvhzK=GbfAcPhsLtKR_yRn-neMQP7S2_YQ@mail.gmail.com>
References: <AS2PR05MB1075477BA334D4DA262AD75BFEF16A@AS2PR05MB10754.eurprd05.prod.outlook.com>
	<[email protected]>
	<AS2PR05MB1075432E74AF2FA975B02519AEF61A@AS2PR05MB10754.eurprd05.prod.outlook.com>
	<[email protected]>
	<AS2PR05MB107546BEE7B8092148A0B51A0EF61A@AS2PR05MB10754.eurprd05.prod.outlook.com>
	<[email protected]>
	<AS2PR05MB107546C1B04FC4B3CCF32E60CEF7DA@AS2PR05MB10754.eurprd05.prod.outlook.com>
	<[email protected]>
	<DB5PR05MB107646FFE78759D1D5431F802EF7AA@DB5PR05MB10764.eurprd05.prod.outlook.com>
	<[email protected]>
	<AS2PR05MB1075476F648651C8CC02D8048EF79A@AS2PR05MB10754.eurprd05.prod.outlook.com>
	<CAKAnmmLsxdt51sp-w0JxMi0haGXHFKD2pXURfOSOa5iVzjni4w@mail.gmail.com>
	<[email protected]>
	<CAKAnmmJzw9TeOd=_VtJ430_AhS+asfRLuOg=mgL0yT_K+7X-yQ@mail.gmail.com>
	<[email protected]>
	<CAKAnmmJogm0T4vF5nvhzK=GbfAcPhsLtKR_yRn-neMQP7S2_YQ@mail.gmail.com>

Internal

Let me get this straight, are you still contesting that the index is actually not part of the dumpfile and I somehow just keep on ‘missing it’?

From: Greg Sabino Mullane <[email protected]>
Sent: dinsdag 10 maart 2026 15:15
To: Adrian Klaver <[email protected]>
Cc: Wim Rouquart <[email protected]>; [email protected]
Subject: Re: Index (primary key) corrupt?


The real sender of this external email is [email protected]<mailto:[email protected]>



On Mon, Mar 9, 2026 at 3:53 PM Adrian Klaver <[email protected]<mailto:[email protected]>> wrote:
Yeah, but the indrelid did not change after the the REINDEX.

Agreed, but none of this makes sense. pg_dump grabs pks via a bulk pg_index scan based on table oids, so I wanted to rule out some problem there.

I'm chalking this one up to user error, not database corruption, as the OP has not actually shown us the output of how they are determining the missing index, and then how the reindex fixes it (although I appreciate the pg_index query results). To put another way, user error is a much more likely explanation than anything else given the lack of specific data.

Cheers,
Greg



Disclaimer <https://www.kbc.com/KBCmailDisclaimer;


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: RE: Index (primary key) corrupt?
  In-Reply-To: <AS2PR05MB10754848BE9C45CEF4F881D5AEF46A@AS2PR05MB10754.eurprd05.prod.outlook.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox