Y
Hacker News
new
|
ask
|
show
|
jobs
by
cryptonector
1102 days ago
This is... exactly what PG does under the covers for ENUM types. And also of course this is historically the canonical way to do ENUMs in SQL.