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

From Dennis Gearon
Subject standard schemas for addresses, others?
Date
Msg-id DYT8396QLEBXDBNKGCNWTPKTP52K.3e2f18c7@cal-lab
Whole thread Raw
Responses Re: standard schemas for addresses, others?
Re: standard schemas for addresses, others?
Re: standard schemas for addresses, others?
List pgsql-general
Are there any sites with 'standard schemas' for certain, repetitive database needs? For
example, addresses and their components. Does anyone have a schema for addresses that will
work for the USA *AND* internation addresses?

entities
----------
Countries
States
Counties
Cities
street addresess.
Postal Codes

Some rules:
-------------
A/ Do duplicate countries
B/ No duplicate states in Countries
    (states seem only to exist in 'Federal' governments)
C/ No duplicate postal codes in Countries
D/ Duplicate cities are allowed in Countries,
    and in the world.
E/ Duplicate cities are allowed in States.
F/ Cities can have multiple postal codes
G/ Postal codes are assigned to only one city.
H/ Postal codes are assigned to counties.
I/



pgsql-general by date:

Previous
From: will trillich
Date:
Subject: HOW-TO do incomplete dates: year, optional month, optional day?
Next
From: Medi Montaseri
Date:
Subject: When to Vacuum