Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nish__
3 days ago
|
parent
|
context
|
favorite
| on:
Avoid UUID Version 4 Primary Keys in Postgres
Well where else do users have public profiles?
0x3f
3 days ago
[–]
The whole point though is that the ID itself leaks info, even if the profile is not public. There are many cases where you reference an object as a foreign key, even if you can't see the entire record of that foreign key.
reply
nish__
2 days ago
|
parent
[–]
I can't think of any.
reply
strbean
2 days ago
|
root
|
parent
[–]
Sending a friend request is an obvious example.
reply
nish__
12 hours ago
|
root
|
parent
[–]
Ok but in that case, why not use the user ID as the primary key?
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: