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 1nyFnX-0004ZB-83 for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Jun 2022 16:41:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nyFnV-000641-Mo for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Jun 2022 16:41:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nyFnV-00063s-EO for pgsql-bugs@lists.postgresql.org; Mon, 06 Jun 2022 16:41:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nyFnT-0000FP-8J for pgsql-bugs@lists.postgresql.org; Mon, 06 Jun 2022 16:41:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 256GexXr922076; Mon, 6 Jun 2022 12:41:01 -0400 From: Tom Lane To: 17346536631@163.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17510: cache lookup failed for type In-reply-to: <17510-5c58d7b6638897e6@postgresql.org> References: <17510-5c58d7b6638897e6@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 06 Jun 2022 06:51:36 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <922074.1654533659.1@sss.pgh.pa.us> Date: Mon, 06 Jun 2022 12:40:59 -0400 Message-ID: <922075.1654533659@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > gitlabhq_production=# \l > ERROR: invalid input syntax for type integer: " > " > LINE 6: pg_catalog.array_to_string(d.datacl, E'\n') AS "Acces... > ^ > gitlabhq_production=# \dt > ERROR: cache lookup failed for type 705 This looks a bit like you've got corruption in the system catalogs. You've not given any details about you got into this state, so it's hard to offer any advice. regards, tom lane