From: | stan <stanb(at)panix(dot)com> |
---|---|
To: | pgsql-sql(at)lists(dot)postgresql(dot)org |
Subject: | FW: Re: type for storing emails? |
Date: | 2019-11-12 15:07:47 |
Message-ID: | 20191112150747.GA4004@panix.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Mon, Nov 11, 2019 at 12:29:03PM -0600, Rene Romero Benavides wrote:
> On Mon, Nov 11, 2019 at 11:59 AM stan <stanb(at)panix(dot)com> wrote:
>
> > Does anyone have a type they have developed for storing emails. I need
> > to do that, and the things that are in my thoughts on this are storing it
> > as
> > a derived type of citext, as case should not matter, and enforcing the at
> > sign with pretty much anything on the left side of it, and something that
> > looks like a domain on the right side of it.
> >
> >
> > --
> > "They that would give up essential liberty for temporary safety deserve
> > neither liberty nor safety."
> > -- Benjamin Franklin
> >
> >
> >
> How are you going to handle invalid / non existent emails?
>
For the moment, I am just going to verify that what is entered is a valid
email format. Verifying that the email exists, may come later.
Thanks for making me think about this, though.
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Joseph Krogh | 2019-11-12 15:21:41 | Sv: FW: Re: type for storing emails? |
Previous Message | Martin Edlman | 2019-11-12 07:37:29 | Re: type for storing emails? |