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 1tqa2h-007AIG-VN for pgsql-general@arkaria.postgresql.org; Fri, 07 Mar 2025 15:55:20 +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 1tqa2g-009R9I-LO for pgsql-general@arkaria.postgresql.org; Fri, 07 Mar 2025 15:55:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tqa2f-009R4M-P2 for pgsql-general@lists.postgresql.org; Fri, 07 Mar 2025 15:55:18 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tqa2d-001W6S-0F for pgsql-general@postgresql.org; Fri, 07 Mar 2025 15:55:16 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id AB90925401DD; Fri, 7 Mar 2025 10:55:14 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Fri, 07 Mar 2025 10:55:14 -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=1741362914; x=1741449314; bh=mdTE0vFmAdGfK5CY12wzmi2lwR6brjJnC4yzOKI03sk=; b= ii/wIpgH3FYVk3udJZsX1CzwlyLy3PTNC75BrbRBZUR9ORDFXy5xMNY18LRxySCs ExRGBlY8wOyT/6wj88dJ2ILf2JuEBNitdSrHWeov+EyRVVjIVvkqI5pDqoOEZtcy gvhQPEvbR6Pdd5Pf58I3fZrzomUD9hyeIPkZuuHqYtOfICPjp/pVNQVOOIPOR+M+ ncePbk5lIZgFR/r8NmbEURsjuF61yqOlRHZzw7RyDy4odh3G2vLrLW/AMbYPPhW+ A52Qy6PoXJJO4XcpoQkqnSRQigouYIih6h8E527kycC8BzuzPtXkL2xWOVfXF5bI gNMN5Wi2Xgj4EwBouV4ung== 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=1741362914; x= 1741449314; bh=mdTE0vFmAdGfK5CY12wzmi2lwR6brjJnC4yzOKI03sk=; b=C ioPWi8rmeXod3yDPtnUniWbLxCcJ8IOFeNzZ61XOQyHjahe/dYx2qeeJPUf8zxW3 be8USIYX+CdUDZY74BCC0C8vjapDPGvzu3o94RzkQFVhy3imu2TBEO/LupXgs/z5 N4Tp6lXNRrMM4XgsqgQ9TAMYDaHRy/R0MGgJXz5Su9IG27ClTMuSrRcZM6Y4tkSO W8IK3HZjQ+rfBg5v+52w0KNObr1JbPGhFVTM5vpn5eowRDXklyYGOiW4STq2slu7 jkeihCVgAn6yFKkbsMVLmeMUSb1fSqdunh7MdgMGMXs74o6q4FCH3CDussEbGAhc XWgGZZoEZy4im3naBkj6Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduuddutdekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkff ggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgr vhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtf frrghtthgvrhhnpeefgeefieeutdfggfetgefgheekjeehteeileeigfetieekjedvieev iefgheevtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphht thhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehmrghrkhgsrhgrugihjh husehouhhtlhhoohhkrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlhes phhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 7 Mar 2025 10:55:13 -0500 (EST) Message-ID: <9d919848-3fe1-46fd-b343-c5f2931864f7@aklaver.com> Date: Fri, 7 Mar 2025 07:55:13 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Duplicate Key Values To: mark bradley Cc: pgsql-general References: <36356aa1-1a5c-44af-a1c0-f190249812ca@aklaver.com> <6aee94f9-d421-4622-bccc-bdac37969be0@aklaver.com> <75b33741-ee99-4524-b63a-edad21c1266d@aklaver.com> 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 3/7/25 06:34, mark bradley wrote: > This is what MS Copilot has to say about this apparent bug where > Postgres inserts extra rows violating a primary keys uniqueness constraint: > What to do?  I hesitate to just delete my tables and start over because > this error will reoccur. Let the AI solve it. > > Best regards, > Mark Brady -- Adrian Klaver adrian.klaver@aklaver.com