|
|
|
|
|
by marcosdumay
1101 days ago
|
|
Yep, you use it as CREATE FUNCTION do_something(some_option custom_enum). The main use-case is not putting them on tables. Relational algebra has the concept of enums builtin (as long as they all have the same structure). You create them in databases by using foreign keys. |
|