Skip to main content

normalize_regclass_name

Function normalize_regclass_name 

Source
pub fn normalize_regclass_name(input: &str) -> Option<String>
Expand description

Normalize the PostgreSQL identifier spelling accepted by regclass input.

Unquoted identifiers fold to lowercase, quoted identifiers preserve case and support doubled quote escapes. NodeDB currently exposes user relations in public and catalog relations in pg_catalog; those qualifiers resolve to the same canonical relation name used by the catalog adapters.