Re: PostgreSQL 12 - ERROR: invalid attribute number 2 for ad_user_pkey - Urgent

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: "FOUTE K(dot) Jaurès" <jauresfoute(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: PostgreSQL 12 - ERROR: invalid attribute number 2 for ad_user_pkey - Urgent
Date: 2021-09-01 15:18:33
Message-ID: 84ED32F5-3D2D-4F48-9200-82A2711D8084@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Sep 1, 2021, at 8:14 AM, FOUTE K. Jaurès <jauresfoute(at)gmail(dot)com> wrote:
>
> No, I am using PostgreSQL 12 (Server and Client)
>
> Le mer. 1 sept. 2021 à 16:12, Rob Sargent <robjsargent(at)gmail(dot)com <mailto:robjsargent(at)gmail(dot)com>> a écrit :
>
>
>> On Sep 1, 2021, at 8:08 AM, FOUTE K. Jaurès <jauresfoute(at)gmail(dot)com <mailto:jauresfoute(at)gmail(dot)com>> wrote:
>>
>> Hello,
>>
>> I have a strange issue in a production database on a customer and need to help to know how to solve the problem.
>>
>> Any select on the table other than pg_catalog table throws the error FATAL: catalog is missing 1 attribute(s) for
>>
>> Any idea how to solve this issue is really appreciated????
>>
>
> Any chance there’s a version mis-match between client and server?
>
>
from the title it looks like you have a problematic index if not a corrupted table. Can you re-index the table for that pkey?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2021-09-01 15:25:04 Re: PostgreSQL 12 - ERROR: invalid attribute number 2 for ad_user_pkey - Urgent
Previous Message FOUTE K. Jaurès 2021-09-01 15:14:14 Re: PostgreSQL 12 - ERROR: invalid attribute number 2 for ad_user_pkey - Urgent