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.96) (envelope-from ) id 1w1nTu-000cB3-1C for pgsql-general@arkaria.postgresql.org; Sun, 15 Mar 2026 15:34:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w1nTt-004rqS-0r for pgsql-general@arkaria.postgresql.org; Sun, 15 Mar 2026 15:34: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.96) (envelope-from ) id 1w1nTs-004rqJ-34 for pgsql-general@lists.postgresql.org; Sun, 15 Mar 2026 15:34:17 +0000 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w1nTr-00000000GEz-1fBC for pgsql-general@lists.postgresql.org; Sun, 15 Mar 2026 15:34:16 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 1D1CAEC0546; Sun, 15 Mar 2026 11:34:15 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Sun, 15 Mar 2026 11:34:15 -0400 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=1773588855; x=1773675255; bh=uDa0hxsh1N9SscmPxbpxXW2MOJ6Y2sSB8sTDEQ9uKjI=; b= Dn/7B4jVxq3vBrjBGeD23NKnEykn4PTitIH3Vurmxgdvq48fzhxP4D+Z5N5AmYbP j68PpTSzgGoI3XU6+15k9tyLMsXBA/A7z1e4+7pJEkMhqIMoH8Z5MP0IKVfETRq5 kPthjPGpajjS2ag6l653bvxzNw1pqgXkVeAK4rLy4VXc5I1C8SnR8eB1PXHGobfZ 7pIHwoZtTTWLGCUTWcC7cTt9xEWpAmTW6PwSGB84SuPm8l36xUFSNjHv3vuLPyLM OzqK1DvBsm6xcQ9R6OnViqXvo48mBAgGPIPfGNOPyG9liUVYh+C1HzUAL5HaP5NX ObaEmJYDiIA4cAfsQue10A== 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=1773588855; x= 1773675255; bh=uDa0hxsh1N9SscmPxbpxXW2MOJ6Y2sSB8sTDEQ9uKjI=; b=n 18mCyoZf1F8S4ZCu97TD5irE2Ey3bfC3qk0GeYJuU+63HLvFtdoPsjSEljSSvh2g JMdhG8K1FPc3g1NGRH+NI0J8SFh60nmKou5VmSOa5BQ1zXFfoNUdiCOmjCIU2ijY VzeP5WvPRt/3d4vvOFBgtrPiA6si1LHBv64DQdnr0W1RcCJSjzcx3CBi/dNsgZoA BHr2qXBfl405QDxaHLcUg5ci/rrZesPuuLYJo62Ej314W1+ru38fX+pHMmH0UQ4Y SXR7z9Uo4u0eKErMY/4gHnXPk2B6fILYNLJ5XXh+rf56OdNFo0z7YR0/xNU7+Qbv bQqBao0fmmdwSYK1+I4Kw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvleehkeehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepuedufeejjefggfdttdeghefgkeeuveekkeeiteettdek ffehiedvtefhveffgeeunecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgr nhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthhopeefpdhmoh guvgepshhmthhpohhuthdprhgtphhtthhopehikhhorhhothdtudesghhmrghilhdrtgho mhdprhgtphhtthhopegurghvihgurdhgrdhjohhhnhhsthhonhesghhmrghilhdrtghomh dprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgv shhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 15 Mar 2026 11:34:14 -0400 (EDT) Message-ID: <2c31c118-7f8a-4359-9c4f-4cabd9df4262@aklaver.com> Date: Sun, 15 Mar 2026 08:34:13 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Does included columns part of the PK To: Igor Korot Cc: "David G. Johnston" , "pgsql-generallists.postgresql.org" References: <3547f40b-08b9-4d0c-bba8-f1c26d0bf09d@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: 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 3/14/26 11:24 PM, Igor Korot wrote: > Hi, Adrian, > > Lets start with the beginning: > > draft=# CREATE TABLE leagues_new(id serial, name varchar(100), > drafttype smallint, scoringtype smallint, roundvalues smallint, > leaguetype char(5), salary integer, benchplayers smallint, primary > key(id) INCLUDE (drafttype, scoringtype) WITH( fillfactor = 50, > deduplicate_items = OFF )); > CREATE TABLE > draft=# I think the above is for this thread: https://www.postgresql.org/message-id/CA%2BFnnTyGEM-1mwxKPbwFTOodf%2BYUX%3DTxTmBPY5S%3DYh1h%3DoVY9A%40mail.gmail.com -- Adrian Klaver adrian.klaver@aklaver.com