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 1tslyU-005R6g-6y for pgsql-general@arkaria.postgresql.org; Thu, 13 Mar 2025 17:04:02 +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 1tslyS-000yZm-T0 for pgsql-general@arkaria.postgresql.org; Thu, 13 Mar 2025 17:04:00 +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 1tslyS-000yXh-72 for pgsql-general@lists.postgresql.org; Thu, 13 Mar 2025 17:04:00 +0000 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tslyP-002eFX-32 for pgsql-general@postgresql.org; Thu, 13 Mar 2025 17:03:59 +0000 Received: from phl-compute-07.internal (phl-compute-07.phl.internal [10.202.2.47]) by mailfout.phl.internal (Postfix) with ESMTP id B2A931383180; Thu, 13 Mar 2025 13:03:56 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Thu, 13 Mar 2025 13:03:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= 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=1741885436; x=1741971836; bh=OwnT491blAEq591StxgyQP/5XG83Sy4FzA8yuF+I7aI=; b= qVRoJ7GicrC2Wp/PbQDMen4R87A6slYDHiMUnhntmjYPq9Ch74/ljUPRb6p/JxHI nmViC2PREu7NB5G2rTryxrAd8I09amEaeEaAMDlOY1XDAfmlP9yjaVozQJ127Rlh b7ApTeL64A1k765z1fQ3jmIZLcS2/dbWwefq4ICaOZMhLV/DxW+/YCqC3JOeKUjv O32rfdSOJkjmeBRiZ9FONbczoAXywvW1ptg8THj1Fv5wJMDY/DwR1hRtcGWwe0wv +dVm4o3MlxHWhRMDQl/lK+hjsT6M06PgXn9BeLC1ZzxY/lX8JjdhCDbd48tN29yu 3sla9qOukfOZALFxo9wQgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1741885436; x=1741971836; bh=O wnT491blAEq591StxgyQP/5XG83Sy4FzA8yuF+I7aI=; b=7qXRzellVXbNrOUrP r+xhCyrdfVjdkXhPsPJS2JgWdAwrCDKbBSW5n5qY4WkO7vfTLFllD+JBhqsqLxl/ p0iipW2FkvQ0s7IVBzJJ+tsd6yKYe3z8M9xex4V+Hh75YW7/wPuykLOj+sAivPeC 3JqmC0dN+y9PG5xnk7I8Todm/XX3IeEtomjNUn9mf0fKFwACHZLV6gdgTsvYmT+J IvpA3V7J5VJSnDx6D5raugbB37LFrSyEwPLgU0exxus0PwQRVeBiXQ0yn8sImwat t4ulF14gOBmVlNGEZdBpxAW0nUL8kro1qANEz09TBizLcTBpcrQUSV3LAAomL/kL GGBOg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduvdekhedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkff ggfgfuvfhfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetughrihgrnhcumfhlrghv vghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrf grthhtvghrnhepleegveekkeekueeigfdtveeileeuhfefudefteekjeffkeejueejheeg heegkedtnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghv vghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmth hpohhuthdprhgtphhtthhopehmrghrkhgsrhgrugihjhhusehouhhtlhhoohhkrdgtohhm pdhrtghpthhtoheprhhonhhljhhohhhnshhonhhjrhesghhmrghilhdrtghomhdprhgtph htthhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Mar 2025 13:03:55 -0400 (EDT) Message-ID: Date: Thu, 13 Mar 2025 10:03:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Duplicate Key Values To: mark bradley , Ron Johnson , pgsql-general References: <84aac7bf-5638-4f1f-9772-ace0ea27e848@aklaver.com> <9203d0df-0ddd-4564-a985-59bcfcf1d294@aklaver.com> <08c96195-3d5f-4902-b5d7-15916a02e23f@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/13/25 09:25, mark bradley wrote: > > > I'm assuming that by 'simple version' you mean no inheritance. > > Inheritance was not specified by me in either case.  By simple, I mean Unless someone else is working on this code, it was done by you. Pretty sure it had to do with from this message: https://www.postgresql.org/message-id/SJ2PR22MB4328CEB1B47FC1AC4A996CB3BAD12%40SJ2PR22MB4328.namprd22.prod.outlook.com "Although I did not explicitly use Postgres to declare inheritance, logically speaking table dataset and processing _node inherit or are subclasses of node because they are subclasses of node in a dataflow diagram." I'm guessing you actually did do the subclassing(inheritance) as it was an option presented in the pgAdmin4 CREATE TABLE screen. Anyway at this point the problem has been identified and a solution devised. > that I used fewer columns in the test version, like so: > > > > Where *node_id* is a foreign key in dataset, and *node_type* is not. > > Best regards, > Mark Brady -- Adrian Klaver adrian.klaver@aklaver.com