Skip to main content

NAMES

Constant NAMES 

Source
pub const NAMES: &'static [(u32, &'static str)];
Expand description

Every builtin function OID paired with the text regproc renders it as, sorted by OID.

The name is schema-qualified whenever the bare name would not resolve back to this OID, which is the rule regprocout applies.

NOTE: The rendering assumes the default search path, which is all a static table can do. A session with mz_internal or mz_unsafe on its search_path makes those bare names resolvable, so the SQL cast from regproc to text renders them bare where this table still qualifies them.

NOTE: Reserved words are left unquoted here, so left renders as left where PostgreSQL’s regprocout renders "left". This matches the SQL cast from regproc to text, and the unquoted form still resolves because regprocin accepts a reserved word either way.