Y
Hacker News
new
|
ask
|
show
|
jobs
by
jimktrains2
3093 days ago
Yes, in PG at least an index is created, otherwise the unique check would become prohibitive.
1 comments
cheapsteak
3092 days ago
I think the question is more on whether a duplicate index would be created instead of having the unique constraint and primary key designation on the same column share an index
link