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 1vAqw0-006ayg-JO for pgsql-general@arkaria.postgresql.org; Mon, 20 Oct 2025 14:32:27 +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 1vAqvz-0010tu-H1 for pgsql-general@arkaria.postgresql.org; Mon, 20 Oct 2025 14:32:26 +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 1vAqvz-0010tm-5m for pgsql-general@lists.postgresql.org; Mon, 20 Oct 2025 14:32:26 +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 1vAqvv-003FEn-30 for pgsql-general@lists.postgresql.org; Mon, 20 Oct 2025 14:32:25 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 505F22A14D6 for ; Mon, 20 Oct 2025 07:32:22 -0700 (PDT) Date: Mon, 20 Oct 2025 07:32:22 -0700 (PDT) From: Rich Shepard Reply-To: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Arrays vs separate tables Message-ID: <4b52b41-49ce-9be5-d9d8-104a3f43dfc1@appl-ecosys.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 Mon, 20 Oct 2025, Ron Johnson wrote: > Multiple contacts at the same client company. If, for whatever reason, the > phone number changes you've got to update X rows in your contacts table, > whereas only one row needs to be updated when the schema meets 1NF. This > eliminates update anomalies. Ron, Not an issue: the companies table has a 'phone' column while the people table has both 'direct_phone' and 'cellphone' columns. And, the locations table has a 'loc_phone' column because many industrial companies have multiple facilities. Regards, Rich