Re: Enforcing uniqueness on [real estate/postal] addresses

Поиск
Список
Период
Сортировка
Искать
От
Peter Devoy
Тема
Re: Enforcing uniqueness on [real estate/postal] addresses
Дата
в 20:55:56
Msg-id
CABoFc_jWOMgKxm7yRTLRO_ZPyNi_L0LhxCvbM2CPGKFt56b88Q@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Enforcing uniqueness on [real estate/postal] addresses Peter Devoy <peter@3xe.co.uk>
Re: Enforcing uniqueness on [real estate/postal] addresses Tim Cross <theophilusx@gmail.com>
Re: Enforcing uniqueness on [real estate/postal] addresses "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: Enforcing uniqueness on [real estate/postal] addresses Peter Devoy <peter@3xe.co.uk>
Re: Enforcing uniqueness on [real estate/postal] addresses Adrian Klaver <adrian.klaver@aklaver.com>
Re: Enforcing uniqueness on [real estate/postal] addresses Karsten Hilbert <Karsten.Hilbert@gmx.net>
Re: Enforcing uniqueness on [real estate/postal] addresses "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: Enforcing uniqueness on [real estate/postal] addresses Rich Shepard <rshepard@appl-ecosys.com>
RE: Enforcing uniqueness on [real estate/postal] addresses "Basques, Bob (CI-StPaul)" <bob.basques@ci.stpaul.mn.us>
Re: Enforcing uniqueness on [real estate/postal] addresses David Goodenough <david.goodenough@broadwellmanor.co.uk>
RE: Enforcing uniqueness on [real estate/postal] addresses Rich Shepard <rshepard@appl-ecosys.com>
RE: Enforcing uniqueness on [real estate/postal] addresses "Basques, Bob (CI-StPaul)" <bob.basques@ci.stpaul.mn.us>
Re: Enforcing uniqueness on [real estate/postal] addresses Paul Jungwirth <pj@illuminatedcomputing.com>
Re: Enforcing uniqueness on [real estate/postal] addresses Peter Devoy <peter@3xe.co.uk>
Re: Enforcing uniqueness on [real estate/postal] addresses Adrian Klaver <adrian.klaver@aklaver.com>
Re: Enforcing uniqueness on [real estate/postal] addresses "David G. Johnston" <david.g.johnston@gmail.com>
Re: Enforcing uniqueness on [real estate/postal] addresses Philip Semanchuk <philip@americanefficient.com>
>Is is possible to have two entries which have the same
>address_identifier_general, street and postcode, but different
>descriptions?

Unfortunately, yes.  The data comes from gov't systems to
regulate the development/alteration of arbitrary pieces of property and
those pieces do not always have a postal address.  E.g. a farmer may
one year apply to erect a wind turbine in "field north of Foo Cottage"
and the next year apply to demolish "barnhouse west of Foo Cottage".

Now, I know what you are thinking, there is a normalization opportunity and you
may well be right. However, the problem does exist in some of the other fields
too and I am already facing a fair amount of join complexity in my schema so I
am trying to figure out my options :)

>(What is an address_identifier_general, btw?)
Address identifier composed by numbers and/or characters. I'm using the
terminology from the EU's "INSPIRE Data Specification on Addresses" Guidelines.

I haven't yet had the opportunity to try out the above suggestions but I will
post again when I have.


В списке pgsql-general по дате отправления
От: Adrian Klaver
Дата:
От: Karsten Hilbert
Дата:
FAQ