PostgreSQL Enum Functions
An enumeration is a type that defines a finite number of constants, and this page organizes enumeration functions in PostgreSQL.
-
enum_first
The PostgreSQLenum_first()
function returns the first enum value of the enum type specified by the parameter. -
enum_last
The PostgreSQLenum_last()
function returns the last enum value of the enum type specified by the parameter. -
enum_range
The PostgreSQLenum_range()
function returns all enumeration values of the enumeration type specified by the parameter, or the enumeration values in the specified range.