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 1vAbCX-003krT-24 for pgsql-general@arkaria.postgresql.org; Sun, 19 Oct 2025 21:44:28 +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 1vAbCU-00CeON-Bo for pgsql-general@arkaria.postgresql.org; Sun, 19 Oct 2025 21:44:25 +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 1vAbCU-00CeOF-12 for pgsql-general@lists.postgresql.org; Sun, 19 Oct 2025 21:44:25 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vAbCQ-00376w-1j for pgsql-general@postgresql.org; Sun, 19 Oct 2025 21:44:24 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 6BC552A14D6 for ; Sun, 19 Oct 2025 14:44:19 -0700 (PDT) Date: Sun, 19 Oct 2025 14:44:19 -0700 (PDT) From: Rich Shepard To: pgsql-general@postgresql.org Subject: Re: Arrays vs separate tables In-Reply-To: <57f94275-65ef-4e43-92e2-5fe3c7130e07@aklaver.com> Message-ID: <7f57274c-2566-497a-c232-9664dd5ca638@appl-ecosys.com> References: <162e5330-861c-ecc7-45c1-aaa1aff26c88@appl-ecosys.com> <57f94275-65ef-4e43-92e2-5fe3c7130e07@aklaver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, 19 Oct 2025, Adrian Klaver wrote: > For direct_phone and email entries that have more then one value, how do you > know what the values are pointing at e.g home vs office vs second office > location, etc? Adrian, At this point I don't know. If there's no answer on one number I try another. If there were separate tables the three colums would be in interger PK, a description, and the number/address. Rich