pg_char_to_encoding ( encoding name ) → integerConverts the supplied encoding name into an integer representing the internal identifier used in some system catalog tables. Returns
-1 if an unknown encoding name is provided.Functions / System Information Functions And Operators
Converts the supplied encoding name into an integer representing the internal identifier used in some system catalog tables.
Reading PG 18current·documented in 6 of 27 versions, 15 to 20
pg_char_to_encoding ( encoding name ) → integerConverts the supplied encoding name into an integer representing the internal identifier used in some system catalog tables. Returns
-1 if an unknown encoding name is provided.Definition snapshot: b7bd9cda · English manual source