Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFbVW-00EE5i-8F for pgsql-general@arkaria.postgresql.org; Mon, 25 Nov 2024 16:00:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tFbVU-00G5Ep-TG for pgsql-general@arkaria.postgresql.org; Mon, 25 Nov 2024 16:00:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFbVT-00G5EU-VA for pgsql-general@lists.postgresql.org; Mon, 25 Nov 2024 16:00:12 +0000 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFbVQ-003nF7-VZ for pgsql-general@postgresql.org; Mon, 25 Nov 2024 16:00:11 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 4C0A82540198; Mon, 25 Nov 2024 11:00:06 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Mon, 25 Nov 2024 11:00:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1732550406; x=1732636806; bh=fbzP/VElr9MUpqTohlvI5rtmp5P2N3RTm+SSr/cnDDo=; b= LKTbLkezBIXxL1ImvKGEpKEXXHQwb3/GmVEHdav8xEmHeNnmWRX84fyJwkVR6zig N6a3zneyRPCjRC8XjL3QGkZMw+YQmD6sGsc5r8/fKrD1Ix5CBDBwOZmQWLY6dVtL 3ZLIHSzKCgL1DW9b69b0UWgNBgDfcpVSEZt6QWWyujTzChs8ra9+3weSlkxwGDPs azOLScz+F+Y5ANiT0FieeY1npzJV40e3XmT4nvy50H3/rcEqCYcEN2ClQ/JZPeAH KdIfU9yyr3xjduB9f4wF2HjoqsnW/8qsaY2l9cuK5ZRpYopABCrp2ff4MXm+64AU PLN0FuzUxv3ouENJdzwlgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1732550406; x= 1732636806; bh=fbzP/VElr9MUpqTohlvI5rtmp5P2N3RTm+SSr/cnDDo=; b=0 3aH05SH6fS1DG43BY9G0M5JGNT5W57bWGWuIf05FsR8utQG+akyshTmpw8ZSxqgU B7x5ar5N1wYkLS5yUEopybUrMk/PXGt0m9SMwDZuXhThZ+exiTbXLSiaL2Vcvy/C ECRiE0Upcy5b3lBe8jgpebGOW4A6+59Q49HGNH9hq1V6ZjON1w0o5XUVbCXaylkF YfeWsXdaxUXBY/yrzkWPImJAKsDibx5hpziW0oNFNdGFE/bO+pfg2kDdNyGZYYdQ Y0rKqOgEokhr1Ry5PRU1VPt6NvumUju1Ef00AeZNWHa28UlvVAqeWFBQa3/UGxfe WlrPoO/MIG5Ow8lWxF2mQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeehgdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeen ucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrse grkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeefgeefieeutdfggfetgefg heekjeehteeileeigfetieekjedvieeviefgheevtdenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhl rghvvghrrdgtohhmpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehshhgrshhhihguhhgrrhhrvgguugihtddtudesghhmrghilhdrtghomhdp rhgtphhtthhopegrjhhithdrfigrnhhgkhhhvghmsehgmhgrihhlrdgtohhmpdhrtghpth htohepphhgshhqlhdqghgvnhgvrhgrlhesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Nov 2024 11:00:05 -0500 (EST) Message-ID: <42ed36a1-2581-43f7-a606-2c139929b38f@aklaver.com> Date: Mon, 25 Nov 2024 08:00:04 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Unique key constraint Issue To: shashidhar Reddy , ajit wangkhem Cc: pgsql-general References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/25/24 00:44, shashidhar Reddy wrote: > Hi Ajit, > > Thank you for your reply! > > The result of the query is same across all servers and yes streaming > replication does not have any issue but the question is how did > duplicate values entered when there unique key in place. Corrupted index? Have you tried doing a REINDEX? -- Adrian Klaver adrian.klaver@aklaver.com