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 1sOlVY-0012e2-A6 for pgsql-general@arkaria.postgresql.org; Tue, 02 Jul 2024 21:57:52 +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 1sOlVW-004XWM-3u for pgsql-general@arkaria.postgresql.org; Tue, 02 Jul 2024 21:57:50 +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 1sOlVV-004XWE-Pa for pgsql-general@lists.postgresql.org; Tue, 02 Jul 2024 21:57:50 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sOlVU-0006D2-0i for pgsql-general@postgresql.org; Tue, 02 Jul 2024 21:57:49 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 5D6382A2B7C for ; Tue, 2 Jul 2024 14:57:46 -0700 (PDT) Date: Tue, 2 Jul 2024 14:57:46 -0700 (PDT) From: Rich Shepard To: pgsql-general@postgresql.org Subject: Re: Accommodating alternative column values In-Reply-To: Message-ID: <449bdf5-31d-9189-34d-5ce4188fe2@appl-ecosys.com> References: 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 Tue, 2 Jul 2024, Christophe Pettus wrote: > If you are absolutely 100% sure there will never be any metadata > associated with each email address (like a "valid" flag), you can use > TEXT[] array to store them. Otherwise, it's best to move them into a table > with a foreign key back to the owning record. Christophe, Using text rather than varchar() is a good suggestion. Thank you, Rich