↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Functions

enum_first

Returns the first 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 first value of the input enum type.

Signatures and overloads

enum_first ( anyenum ) → anyenum → anyenum
Returns the first value of the input enum type.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:d85e9793b03d8b72ae0405b647fe05331fcb534c75bcda90529e80fded9aa6b1

Text language: en · wiki-repair-20261023:d85e9793b03d8b72ae0405b647fe05331fcb534c75bcda90529e80fded9aa6b1