Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kenniskrag
on May 27, 2021
|
parent
|
context
|
favorite
| on:
Klarna users are being signed in to random account...
> getting 'random' records that correspond to a given ID but that's for the wrong table...
That's why I use GUID instead of integers. If you get a result, it was the right column.
OJFord
on May 28, 2021
[–]
Good point, we do for new things, but of course when I hit it it was with an old table and
was
a problem.. sod's law. (Though arguably it's just harder to notice the effects of it happening with a GUID and it could have too.)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
That's why I use GUID instead of integers. If you get a result, it was the right column.