-- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
otoh, there's plenty of places where natural keys are optimal. my
company makes widgets, and we make damn sure our serial #s and part
numbers are unique, and we use them as PK's for the various tables.
further, the PN has a N digit prefix which is unique to a part family,
then a M digit suffix which identifies a specific version of that PN.
we use the N digit PN for the family tables, and the full N+M digit PN
for the full PN tables. serial # is globally unique across all PNs so
its the PK of any table related directly to a widget.
- Re: [GENERAL] pervasiveness of surrogate (also called synt... Merlin Moncure
- Re: [GENERAL] pervasiveness of surrogate (also called synt... Jeff Davis
- Re: [GENERAL] pervasiveness of surrogate (also called... Craig Ringer
- Re: [GENERAL] pervasiveness of surrogate (also called... Scott Marlowe
- Re: [GENERAL] pervasiveness of surrogate (also called... Rob Sargent
- Re: [GENERAL] pervasiveness of surrogate (also called... Dann Corbit
- Re: [GENERAL] pervasiveness of surrogate (also called... Craig Ringer
- Re: [GENERAL] pervasiveness of surrogate (also called... Karsten Hilbert
- Re: [GENERAL] pervasiveness of surrogate (also called... Rick Genter
- Re: [GENERAL] pervasiveness of surrogate (also called... Greg Smith
- Re: [GENERAL] pervasiveness of surrogate (also called... John R Pierce
- Re: [GENERAL] pervasiveness of surrogate (also called... Rob Sargent
- Re: [GENERAL] pervasiveness of surrogate (also called... Scott Ribe
- Re: [GENERAL] pervasiveness of surrogate (also called... Greg Smith
- Re: [GENERAL] pervasiveness of surrogate (also called... Craig Ringer
- Re: [GENERAL] pervasiveness of surrogate (also called... Rob Sargent
- Re: [GENERAL] pervasiveness of surrogate (also called... Craig Ringer
- Re: [GENERAL] pervasiveness of surrogate (also called... Merlin Moncure
- Re: [GENERAL] pervasiveness of surrogate (also called... Greg Smith
- Re: [GENERAL] pervasiveness of surrogate (also called... David Johnston
- Re: [GENERAL] pervasiveness of surrogate (also called... Greg Smith