Skip to main content

Overview

The pg_encoding_to_char() is a system catalog information function that converts an encoding internal identifier to a human-readable name.

Syntax

The syntax for the pg_encoding_to_char() function is as follows:

Parameters

The following parameters are required to execute function:
  • number: specifies the integer value representing the encoding identifier

Examples