Re: standard schemas for addresses, others? - Mailing list pgsql-general

From Dennis Gearon
Subject Re: standard schemas for addresses, others?
Date
Msg-id KEJE0ED6Z974B0K3252431U2V04.3e303adb@cal-lab
Whole thread Raw
In response to Re: standard schemas for addresses, others?  (will trillich <will@serensoft.com>)
Responses Re: standard schemas for addresses, others?
List pgsql-general
Now THAT's a good idea, store a regex pattern for each country's zip code!

1/23/2003 10:01:19 AM, will trillich <will@serensoft.com> wrote:
>
>
>    insert into nations ( abbr,name,zips )
>        values ( 'USA','United States of America','\\d\\d\\d\\d\\d(-\\d\\d\\d\\d)?' );
>    insert into nations ( by,abbr,name,zips )
>        values ( 'CANADA','Canada',               '[A-Z]\\d[A-Z]\\s+\\d[A-Z]\\d' );
>




pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: standard schemas for addresses, others?
Next
From: Medi Montaseri
Date:
Subject: Re: I was spoiled by the MySQL timestamp field