OT: Address Fields - Mailing list pgsql-general

From 2trax
Subject OT: Address Fields
Date
Msg-id pan.2003.07.31.09.39.34.792868@salterprojects.com
Whole thread Raw
Responses Re: OT: Address Fields  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Re: OT: Address Fields  (Paul Schmidt <wogsterca@yahoo.ca>)
List pgsql-general
Hi everyone,

Just wondering if anyone has any tips on the best way to represent
international addresses (ie from any country) in a database?

It seems to me that the most flexible way is to use a text field to hold
everything, apart from the country which suits a varchar? and perhaps have
another dedicated varchar field to hold USA ZIP codes / UK post codes for
easy searching?

Advice from those who have successfully created a scheme with enough
flexibility and structure to be useful would be greatly appreciated.

Thanks,

Sam.

---
Posted via news://freenews.netfront.net
Complaints to news@netfront.net

pgsql-general by date:

Previous
From: Wolfgang Kueter
Date:
Subject: Re: Moving from MySQL
Next
From: "Gregory S. Williamson"
Date:
Subject: dbmirror -- recovery question