Re: Index (primary key) corrupt?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Wim Rouquart <wim(dot)rouquart(at)kbc(dot)be>, Greg Sabino Mullane <htamfids(at)gmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Index (primary key) corrupt?
Date: 2026-03-06 16:03:07
Message-ID: 0868c260-9812-4629-b32d-026c1fe6089f@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/6/26 2:31 AM, Wim Rouquart wrote:
> Internal
>

>
>> As I recall this is not a large table, but for completeness what is it's average size?
>
> It has only 12 rows 😊
>
>> What are the Postgres log settings, on the source database, for?:
>
> log_error_verbosity = 'default'
> log_min_error_statement = 'fatal'
> log_min_messages = 'warning'
> log_statement = 'ddl'
>
>> Are there any entries in the Postgres log that reference this table?
>
> Nope, none found, probably because it isn't used anymore (and because of above log settings if it would be)
>

Well at this point I don't see that it is possible to determine a cause
for why the index does not transfer or throw an error in the process.
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrien Nayrat 2026-03-06 18:41:30 Sort and limit push down
Previous Message Andrew Dunstan 2026-03-06 12:33:31 Re: Emitting JSON to file using COPY TO