Re: Accommodating alternative column values - Mailing list pgsql-general

From Rich Shepard
Subject Re: Accommodating alternative column values
Date
Msg-id 449bdf5-31d-9189-34d-5ce4188fe2@appl-ecosys.com
Whole thread Raw
In response to Re: Accommodating alternative column values  (Christophe Pettus <xof@thebuild.com>)
Responses Re: Accommodating alternative column values
List pgsql-general
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



pgsql-general by date:

Previous
From: Christophe Pettus
Date:
Subject: Re: Accommodating alternative column values
Next
From: Christophe Pettus
Date:
Subject: Re: Accommodating alternative column values