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 1frTHY-0001QT-DH for pgsql-general@arkaria.postgresql.org; Sun, 19 Aug 2018 19:22:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1frTHX-0002rh-03 for pgsql-general@arkaria.postgresql.org; Sun, 19 Aug 2018 19:22:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1frTHW-0002ra-Of for pgsql-general@lists.postgresql.org; Sun, 19 Aug 2018 19:22:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1frTHU-0003yj-B7 for pgsql-general@postgresql.org; Sun, 19 Aug 2018 19:22:34 +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 w7JJMSXD030541; Sun, 19 Aug 2018 15:22:28 -0400 From: Tom Lane To: DrakoRod cc: pgsql-general@postgresql.org Subject: Re: ERROR: cache lookup failed for function 125940 In-reply-to: <1534705654693-0.post@n3.nabble.com> References: <1534700897989-0.post@n3.nabble.com> <28005.1534703408@sss.pgh.pa.us> <1534705654693-0.post@n3.nabble.com> Comments: In-reply-to DrakoRod message dated "Sun, 19 Aug 2018 12:07:34 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30539.1534706548.1@sss.pgh.pa.us> Date: Sun, 19 Aug 2018 15:22:28 -0400 Message-ID: <30540.1534706548@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk DrakoRod writes: > I reindex the pg_proc table and reindex finished correctly but I try read > the tables or make the dump and same error, reindexed the database and show > me this error: > ERROR: cache lookup failed for function 125999 This suggests you've actually lost some entries from pg_proc. Have you had any system crashes or suchlike? > Any suggestions, If I run pg_upgrade to 10, will these errors be corrected? No, pg_upgrade can't magically restore data that's not there. regards, tom lane