Enumerated Fields in PostgreSQL

11
Many programming languages support an enumerated type in some form. In C and C++, they are a kind of symbolic mapping to integers, but in other languages (such as Ada), they are more first-class citizens in the type system. Leaving enumerations out of the original Java language definition was one of the worst mistakes its creators made. They have finally remedied this, but it took a long time.

Link: O'Reilly Network