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 1omdUw-0002L6-89 for pgsql-general@arkaria.postgresql.org; Sun, 23 Oct 2022 16:06:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1omdUv-0007Z6-1f for pgsql-general@arkaria.postgresql.org; Sun, 23 Oct 2022 16:06:49 +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 1omdUt-0007Yx-BU for pgsql-general@lists.postgresql.org; Sun, 23 Oct 2022 16:06:48 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1omdUk-0000sb-IY for pgsql-general@lists.postgresql.org; Sun, 23 Oct 2022 16:06:44 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 72FEF320039A; Sun, 23 Oct 2022 12:06:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 23 Oct 2022 12:06:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1666541196; x= 1666627596; bh=RQCzAPReVuV4fMtGdnzPwROTTbuPJdWIiCaGp8fqXrE=; b=u HngV3jRveNjejXLzqMN7FlArjFwXBKYkZjba+ByE0mhlyrXs8dOVd5p5ByPqi3Yn /zJy2D+IC8cYS1Kdewv0XDcKrIkGwRihA2YxE84w0TgunENJz9HybE4lWwbFh5xc 4hCMZ5lKgj71EzmkCWQv+EhbhccsPKP3fjGmvoetrZBbQFyD7ls0gAR/SAbFEH1B AHx0ia15GHAPm0H9UJrjSMvd0PBiN2tZYro4EvgKhWOCOsnfmqnq+GszIJZLwfu3 qBEuFyD7WPYUyF2B3vC09isdsJ0q+dj6OnI1pCjImgnBfydsDVfDkEYbu06ONeWC GHjTar3lENh1mduzsEngw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1666541196; x=1666627596; bh=R QCzAPReVuV4fMtGdnzPwROTTbuPJdWIiCaGp8fqXrE=; b=k2r1Hr9u2+YRYITLY /1Iaq8bpTJnGy21pWag/kG8AKAaL4wdHIotzKibDCFSeVotsJP9rri9kRwSKnPMR HJuCXMAN7aE+5mqOb6TNEr9dbcfLYBlqX8kUqbg35C3r4PVNbFhpfqss72L4v+8C jTrzXdhNkgCrKVM2e3Y2PH+8jmRJeAJCD6bB1XkM3DlbeqZ6NheWtfBh5bG9H6PW qTMEhI1c5CS5ybSqCUpIJWacUP9H/pcIMSL0yRcWeEax+Tw0cSDrSyFhHdwpDhMe 9BXOfBEg/FMVH6mDhCzdoZ0JUMaUQZM+p7/dpqTx4TkrZAdM7GgugBFFjsehhXlR 4epAw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgedtvddgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepvedvkeeihf duhffhtdekleegffduiefgteejgeffgffhteefleeludfgleelgeevnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 23 Oct 2022 12:06:35 -0400 (EDT) Message-ID: Date: Sun, 23 Oct 2022 09:06:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: How to find an oid that's not uesd now? To: "jacktby@gmail.com" , pgsql-general References: <202210240000544499483@gmail.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <202210240000544499483@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/23/22 09:00, jacktby@gmail.com wrote: > > I'm adding a new index in pg, but I find this. > > Duplicate OIDs detected: > > Duplicate OIDs detected: > > 357 > > 357 > > found 1 duplicate OID(s) in catalog data > > found 1 duplicate OID(s) in catalog data > > what sql should I run to find one? More information needed: 1) Postgres version? 2) What client reported that error? 3) What is the index creation statement you used? -- Adrian Klaver adrian.klaver@aklaver.com