Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A Curated Guide to PostgreSQL. Parent comment
I believe the difference would be on the constraint. A primary key is intended to be unique, where as an index does not alway carry that constraint.
There are no comments on this comment yet.
I believe the difference would be on the constraint. A primary key is intended to be unique, where as an index does not alway carry that constraint.