Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLS0e-0004Mc-PV for pgsql-general@arkaria.postgresql.org; Wed, 01 Sep 2021 15:18:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mLS0d-0006OO-5l for pgsql-general@arkaria.postgresql.org; Wed, 01 Sep 2021 15:18:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLS0c-0006MH-SV for pgsql-general@lists.postgresql.org; Wed, 01 Sep 2021 15:18:38 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mLS0a-0002cr-Rs for pgsql-general@lists.postgresql.org; Wed, 01 Sep 2021 15:18:38 +0000 Received: by mail-pg1-x52d.google.com with SMTP id 17so3121737pgp.4 for ; Wed, 01 Sep 2021 08:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=GgExjLCuskUFAYfBYbSNgoeK5qwHiAOm50bOZs+rxpU=; b=kqHZLE5Y47gk2RDJgYWH3SnxPK5mD2AsKqdVPDGbqxfaHxtRcsgO5C/LQ03q6r1Q8t OH8ADx2wTMVFbM9SokTI9UaWt5OsPTPl+CoykXWHx5V4hvpW5FkBDRztFNODA8ywaFP+ Jt/jFh9VnYwIj6v2CPPzC9zQOVjymqh45NpU+Mw66CFUqvYQXikhrIppG76sb4Hm0dZ4 Q2IapVLz907eDaBxHdghk//sgJrz8n/FvbPHjTVgR3AoB2MGLJJ94PcWqRHbsxUSaNZj 93SlHgXX2fOmuJDCT+QX04y4eLyVqeCgl5TOUtj5R3lPFZW10utlEC0g511WhC4z57Bc iJJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=GgExjLCuskUFAYfBYbSNgoeK5qwHiAOm50bOZs+rxpU=; b=E15rvSU20Y9wUNx0TNGIbHI/Dj/DokidJ9VsTJBYkChnafOMP6DsVXpg5EiOKrORgi d2BuZHKL4aOaycBJvAlFqb+oyHjGFdxMAv56PXUYXbo5DH/lAhp0lq146B6thLZR9mnx jtrhRNus+BeRdTYeZOlFyjJMH88vFrjxd8Np5ZkZMIlx4TZm/QG3kwVSoXqLyIdw7d/S w7m6wNz3GbYVkwCSJqvRXdfwVxjJsQipzHJAMgcYMi23J9Vr6JAH3/emCWL9BBiakHHF clNA9qxxKTgc8cAd4vc6MutPp0JGwStKTUkpW3UbI/Wu8oOepiB9gx87U7LKr2zDr4FT txYQ== X-Gm-Message-State: AOAM531mUnGecpIUWGSbofi4isFHdC1zrcUOkjxARPDPYeyFqwh9e0g3 gsdCFyKnk6sJGThmMhUT1M0= X-Google-Smtp-Source: ABdhPJw87pdNY0Sp/v75utkaZUFSrWBqtoWP4A8iMBMH5fGWuqPBxez9fTtmWPlBg0YAtlvtTiVgSQ== X-Received: by 2002:a63:cd4e:: with SMTP id a14mr32086933pgj.429.1630509514936; Wed, 01 Sep 2021 08:18:34 -0700 (PDT) Received: from smtpclient.apple (node-1w7jr9qk3a62h0hkb3wfooeqg.ipv6.telus.net. [2001:569:73a4:6f00:1498:7835:36af:d498]) by smtp.gmail.com with ESMTPSA id c133sm304503pfb.39.2021.09.01.08.18.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Sep 2021 08:18:34 -0700 (PDT) From: Rob Sargent Message-Id: <84ED32F5-3D2D-4F48-9200-82A2711D8084@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_B0071215-ED03-4197-80BA-3C3ECF84CF66" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: PostgreSQL 12 - ERROR: invalid attribute number 2 for ad_user_pkey - Urgent Date: Wed, 1 Sep 2021 08:18:33 -0700 In-Reply-To: Cc: PostgreSQL General To: =?utf-8?B?IkZPVVRFIEsuIEphdXLDqHMi?= References: X-Mailer: Apple Mail (2.3654.120.0.1.13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_B0071215-ED03-4197-80BA-3C3ECF84CF66 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Sep 1, 2021, at 8:14 AM, FOUTE K. Jaur=C3=A8s = wrote: >=20 > No, I am using PostgreSQL 12 (Server and Client) >=20 > Le mer. 1 sept. 2021 =C3=A0 16:12, Rob Sargent > a =C3=A9crit : >=20 >=20 >> On Sep 1, 2021, at 8:08 AM, FOUTE K. Jaur=C3=A8s = > wrote: >>=20 >> Hello, >>=20 >> I have a strange issue in a production database on a customer and = need to help to know how to solve the problem. >>=20 >> Any select on the table other than pg_catalog table throws the error = FATAL: catalog is missing 1 attribute(s) for=20 >>=20 >> Any idea how to solve this issue is really appreciated???? >>=20 >=20 > Any chance there=E2=80=99s a version mis-match between client and = server? >=20 >=20 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? --Apple-Mail=_B0071215-ED03-4197-80BA-3C3ECF84CF66 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Sep 1, 2021, at 8:14 AM, FOUTE K. Jaur=C3=A8s <jauresfoute@gmail.com> wrote:

No, I am using PostgreSQL 12 (Server and Client)

Le mer. 1 sept. 2021 =C3=A0 16:12, Rob = Sargent <robjsargent@gmail.com> a =C3=A9crit :


On Sep = 1, 2021, at 8:08 AM, FOUTE K. Jaur=C3=A8s <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=E2=80=99s 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?


= --Apple-Mail=_B0071215-ED03-4197-80BA-3C3ECF84CF66--