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 1kAf1t-0003v0-M0 for pgsql-admin@arkaria.postgresql.org; Tue, 25 Aug 2020 19:54:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kAf1q-0003Lz-RO for pgsql-admin@arkaria.postgresql.org; Tue, 25 Aug 2020 19:54:46 +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 1kAf1q-0003Ls-Jz for pgsql-admin@lists.postgresql.org; Tue, 25 Aug 2020 19:54:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAf1o-0007V6-7L for pgsql-admin@postgresql.org; Tue, 25 Aug 2020 19:54:45 +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 07PJsf9f2763003; Tue, 25 Aug 2020 15:54:41 -0400 From: Tom Lane To: Wells Oliver cc: Stephen Frost , Alvaro Herrera , pgsql-admin Subject: Re: Odd pg dump error: cache lookup failure In-reply-to: References: <20200824231338.GA30623@alvherre.pgsql> <20200824231621.GA29590@tamriel.snowman.net> <2748788.1598376276@sss.pgh.pa.us> <2760667.1598382327@sss.pgh.pa.us> <2762015.1598384009@sss.pgh.pa.us> Comments: In-reply-to Wells Oliver message dated "Tue, 25 Aug 2020 12:44:50 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2763001.1598385281.1@sss.pgh.pa.us> Date: Tue, 25 Aug 2020 15:54:41 -0400 Message-ID: <2763002.1598385281@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Wells Oliver writes: > It doesn't exist any longer, which lead me to try to think of things that > might be dropped during the dump process. Hm, if you're actually *dropping* matviews during the dump then it's not so hard to explain this error. They'd have to be ones that were selected to be dumped though. regards, tom lane