pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: "FOUTE K. Jaurès" <jauresfoute@gmail.com>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: PostgreSQL 12 - ERROR: invalid attribute number 2 for ad_user_pkey - Urgent
Date: Wed, 1 Sep 2021 08:18:33 -0700
Message-ID: <84ED32F5-3D2D-4F48-9200-82A2711D8084@gmail.com> (raw)
In-Reply-To: <CAHQ1jfeYefDs-AAhmPgON21bCJf1kOr72--2PN5WS0KDVk3z8w@mail.gmail.com>
References: <CAHQ1jffggwjByBjkQzB5_UnzuppwXpt5NniZAmMj5Tvh2RDaOg@mail.gmail.com>
	<D3A79E18-0F41-4276-B279-B0506FCD0C21@gmail.com>
	<CAHQ1jfeYefDs-AAhmPgON21bCJf1kOr72--2PN5WS0KDVk3z8w@mail.gmail.com>



> On Sep 1, 2021, at 8:14 AM, FOUTE K. Jaurès <jauresfoute@gmail.com> wrote:
> 
> No, I am using PostgreSQL 12 (Server and Client)
> 
> Le mer. 1 sept. 2021 à 16:12, Rob Sargent <robjsargent@gmail.com <mailto:robjsargent@gmail.com>> a écrit :
> 
> 
>> On Sep 1, 2021, at 8:08 AM, FOUTE K. Jaurès <jauresfoute@gmail.com <mailto:jauresfoute@gmail.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?

view thread (12+ messages)  latest in thread

Message-ID: <84ED32F5-3D2D-4F48-9200-82A2711D8084@gmail.com>
Permalink:  ../84ED32F5-3D2D-4F48-9200-82A2711D8084@gmail.com/
Also on:    postgresql.org/message-id/84ED32F5-3D2D-4F48-9200-82A2711D8084@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com, jauresfoute@gmail.com
  Subject: Re: PostgreSQL 12 - ERROR: invalid attribute number 2 for ad_user_pkey - Urgent
  In-Reply-To: <84ED32F5-3D2D-4F48-9200-82A2711D8084@gmail.com>
  References: <CAHQ1jffggwjByBjkQzB5_UnzuppwXpt5NniZAmMj5Tvh2RDaOg@mail.gmail.com> <D3A79E18-0F41-4276-B279-B0506FCD0C21@gmail.com> <CAHQ1jfeYefDs-AAhmPgON21bCJf1kOr72--2PN5WS0KDVk3z8w@mail.gmail.com> <84ED32F5-3D2D-4F48-9200-82A2711D8084@gmail.com>

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

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