3 ms·
> If i understand the article correctly it's discussing using natural keys as primary keys. I'm not sure about the author's intent here. In the prior section
by Jwarder 9y ago
> If i understand the article correctly it's discussing using natural keys as primary keys.
I'm not sure about the author's intent here. In the prior section they dismiss the necessity of primary keys. However, the author rails on about unique keys. I'm not familiar with PostgreSQL, but I assume every reference to "key" is effectively an index with a unique constraint. If that is true then all of the discussed issues with unique names are the same even if the author doesn't care about primary key in particular.