↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Functions

enum_last

Returns the last value of the input enum type.

English manual coverage begins with PostgreSQL 7.1. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

group
enum
group label
Enum Support Functions
lang
en
layout
table-new
pages
functions-enum.html
prose only
false

Definition PG 18

Returns the last value of the input enum type.

Signatures and overloads

enum_last ( anyenum ) → anyenum → anyenum
Returns the last value of the input enum type.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:94207534656a22d3cde41322fd2a367197e2eb1171b76ec2c7e576405cc73753

Text language: en · wiki-repair-20261023:94207534656a22d3cde41322fd2a367197e2eb1171b76ec2c7e576405cc73753