Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
0x3f
11 days ago
|
parent
|
context
|
favorite
| on:
Avoid UUID Version 4 Primary Keys in Postgres
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.
nish__
11 days ago
[–]
I can't think of any.
reply
strbean
11 days ago
|
parent
[–]
Sending a friend request is an obvious example.
reply
nish__
9 days 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: