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 1tPlm2-00F9or-EM for pgsql-general@arkaria.postgresql.org; Mon, 23 Dec 2024 16:59:18 +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 1tPlm0-00CgSp-Sh for pgsql-general@arkaria.postgresql.org; Mon, 23 Dec 2024 16:59:16 +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 1tPlm0-00CgRQ-HG for pgsql-general@lists.postgresql.org; Mon, 23 Dec 2024 16:59:16 +0000 Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tPllx-001FS0-LL for pgsql-general@lists.postgresql.org; Mon, 23 Dec 2024 16:59:15 +0000 Received: from phl-compute-07.internal (phl-compute-07.phl.internal [10.202.2.47]) by mailfhigh.stl.internal (Postfix) with ESMTP id 8A31F25401B1; Mon, 23 Dec 2024 11:59:12 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Mon, 23 Dec 2024 11:59:12 -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=fm1; t=1734973152; x=1735059552; bh=BH6jm0KpxwFjBXZHw1lp8Wmwles1GlCCxfq+heu26ZI=; b= DKIEz9lWSm4T9yL3vqJDMEsSCjH/3m8dwP0D9RVDiSo0puWDFplefgl2tRJrbSh1 1yjiaMNPQ7QG+RZ92LYsXGV1jqRiMBB5RSRNlVQ91I7WWSA9JPxqqXIzhF3tI+nb /5vI0WoUDMMW+X4UIPsHWylPZX/w5C7QLmx9NsKt8q+ygFEt0qYuGpVJEsSauCLv 8ouHb1UNBYag5SxKdm8H6WvYDZ9CWxa9BSkcEb7xHQc3MNnNN2Ra+FsuOUuaIGrH Df6Uq1xgWRmAeqoxeVNeh5EdcVtethwrWM77U4c4CN4HyLwJunpx1rOXSoms5D0L EZ6yRu/8w3iXybzYb18JYQ== 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=fm2; t=1734973152; x= 1735059552; bh=BH6jm0KpxwFjBXZHw1lp8Wmwles1GlCCxfq+heu26ZI=; b=S LOkxxtSzKp9jB9BFLODWQUMY+zgXahhqgO/D5wTDeUmK7eS6AqDt8M1j8D9rXvCZ gsUcy+vPBoQHG3C5m1s6y85W5PFOb2FUKwJNDakGTje4LxIQ01kuwPeB+mnm9qtX QH8k7HdJ0vFGz0ebqeO2desafbqdfFOCldX29uF9cna2A5u4VowePLwm1d6vWRGp ci5K04RnX4pjvEJgNQDD5I1vn9WLICTHEYjbasBFO963SQmQVlsbyESx/phgl4vG lzYbzdD+RzCXHRMoNP1QSPps2JQf8E0P0Vfttc+O4DLUHL2UYNjENh0W6Br9+iFO J2F8lC4WrXw4kHZFICp9A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudduvddgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhephfeviefhveelffeftdeh udekveefhfeftdegieefveetfffgfeehtdfftedutedtnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepuggrvhhiugdrghdrjhhohhhnshhtohhnsehgmhgrihhlrdgtohhmpdhr tghpthhtoheprghgudehieejkedvjeesghhmrghilhdrtghomhdprhgtphhtthhopehpgh hsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Dec 2024 11:59:11 -0500 (EST) Message-ID: <43981031-ac2a-4216-9342-8b898a06d0d7@aklaver.com> Date: Mon, 23 Dec 2024 08:59:11 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Need help in database design To: "David G. Johnston" Cc: Divyansh Gupta JNsThMAudy , pgsql-general@lists.postgresql.org References: <06e1f1ee-74b2-43a2-9a63-da20ae455ae2@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 12/23/24 08:55, David G. Johnston wrote: > On Mon, Dec 23, 2024, 09:54 Adrian Klaver > wrote: > > On 12/23/24 08:46, Divyansh Gupta JNsThMAudy wrote: > > Also as you ask how 50 pairs turns into 50 column so each column > will be > > a key and the value of that key will store inside their respective > > column for each row > > My problem with understanding this is 50 pairs = 100 values, I don't > understand how that can fit in 50 columns that can only handle 1 value > each. You need to provide some example data showing what you want to > achieve. It does not need to be the full 50, just something to show the > process. > > > > Because the column name is the same as a dictionary key... Aah, got it thanks. > > David J. > > -- Adrian Klaver adrian.klaver@aklaver.com