Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1frSSx-0007CB-JD for pgsql-general@arkaria.postgresql.org; Sun, 19 Aug 2018 18:30:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1frSSv-0006B3-Jw for pgsql-general@arkaria.postgresql.org; Sun, 19 Aug 2018 18:30:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1frSSv-0006Aq-8T for pgsql-general@lists.postgresql.org; Sun, 19 Aug 2018 18:30:17 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1frSSs-0001AS-N7 for pgsql-general@postgresql.org; Sun, 19 Aug 2018 18:30:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w7JIU8R7028006; Sun, 19 Aug 2018 14:30:08 -0400 From: Tom Lane To: DrakoRod cc: pgsql-general@postgresql.org Subject: Re: ERROR: cache lookup failed for function 125940 In-reply-to: <1534700897989-0.post@n3.nabble.com> References: <1534700897989-0.post@n3.nabble.com> Comments: In-reply-to DrakoRod message dated "Sun, 19 Aug 2018 10:48:17 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28004.1534703408.1@sss.pgh.pa.us> Date: Sun, 19 Aug 2018 14:30:08 -0400 Message-ID: <28005.1534703408@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk DrakoRod writes: > I've a big problem with a database, is a PostgreSQL 9.6 version on Ubuntu. > When a tried read some tables (approximately 7 of 1073) show this error: > *ERROR: cache lookup failed for function 125940* > So, I was reading this like data corruption specially the postgresql's > system catalog . I tried generate a dump but in any case, when I try make a > database dump or table's dump show this error: > *pg_dump: [archiver (db)] query failed: ERROR: cache lookup failed for > function 406 Hmm, perhaps reindexing pg_proc would get you out of trouble? Also, if that isn't 9.6.10, I'd suggest updating --- we have fixed some data corruption issues since 9.6.0. regards, tom lane