Re: Looking for types: phone number, email addresses

From: Josh Jore <josh(at)greentechnologist(dot)org>
To: Stephane Bortzmeyer <bortzmeyer(at)nic(dot)fr>
Cc: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Looking for types: phone number, email addresses
Date: 2002-07-19 15:11:43
Message-ID: Pine.BSO.4.44.0207191009130.2596-100000@kitten.greentechnologist.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Remember to allow quotes and spaces as well. This is a valid address (no,
not that I actually defined it as an alias):

"Josh Jore"@greentechnologist.org

Joshua b. Jore ; http://www.greentechnologist.org

On Fri, 19 Jul 2002, Stephane Bortzmeyer wrote:

> On Fri, Jul 19, 2002 at 03:27:19PM +0100,
> Lee Kindness <lkindness(at)csl(dot)co(dot)uk> wrote
> a message of 20 lines which said:
>
> Email addresses, on the other hand, *will* be used automatically
> (opt-in only, do not worry).
>
> At the present time, I use:
>
> -- Not perfectly RFC 2822-compliant :-(
> email TEXT NOT NULL CHECK (email ~ '^[a-zA-Z0-9\+\(dot)\_\-]+(at)[a-zA-Z0-9\(dot)\-]+$'),
> phone TEXT CHECK (phone ~ '^\\+[0-9]+[ 0-9]+$'),
> fax TEXT CHECK (fax ~ '^\\+[0-9]+[ 0-9]+$'),
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Mascari 2002-07-19 15:32:21 Re: References for PostgreSQL
Previous Message Sam Liddicott 2002-07-19 15:05:06 Re: Startup death!