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 1qJLmk-0000QN-G6 for pgsql-admin@arkaria.postgresql.org; Tue, 11 Jul 2023 22:24:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qJLmi-0001pJ-MR for pgsql-admin@arkaria.postgresql.org; Tue, 11 Jul 2023 22:24:40 +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 1qJLmi-0001om-Bc for pgsql-admin@lists.postgresql.org; Tue, 11 Jul 2023 22:24:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJLmf-003L89-QA for pgsql-admin@lists.postgresql.org; Tue, 11 Jul 2023 22:24:39 +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 36BMOZLR2563739; Tue, 11 Jul 2023 18:24:35 -0400 From: Tom Lane To: Ed Sabol cc: "pgsql-admin@lists.postgresql.org" Subject: Re: pg_dump: WARNING: could not find operator In-reply-to: References: Comments: In-reply-to Ed Sabol message dated "Tue, 11 Jul 2023 18:15:08 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2563737.1689114275.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 11 Jul 2023 18:24:35 -0400 Message-ID: <2563738.1689114275@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ed Sabol writes: > Hello! I'm in the process of migrating some 10.23 database instances to = 15.3, and I'm getting these warnings when doing a pg_dumpall on one of the= servers: > pg_dump: WARNING: could not find operator with OID 2234078 > pg_dump: WARNING: could not find operator with OID 2234199 > Is this indicative of a problem that I should fix before running pg_upgr= ade? If so, how? > And how do I find out what these OIDs are and what's referencing them? =46rom a quick look at the pg_dump source code, this is indicative of dangling links in either pg_operator.oprcom, pg_operator.oprnegate, or pg_aggregate.aggsortop. With no context it's difficult to guess how they got there. While you could clean it up manually, pg_dump is just going to omit those clauses from its output, so there's no real need to do anything if that outcome is sufficient. regards, tom lane