Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pavel_lishin
8 days ago
|
parent
|
context
|
favorite
| on:
What is better: a lookup table or an enum type?
Not super familiar with the internals of postgres, but what sort of performance would something like this have?
SELECT person_id FROM person_l WHERE state_id = (SELECT id FROM state_l WHERE name = 'Burgenland');
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: