Skip to main content

is_catalog

Function is_catalog 

Source
pub fn is_catalog(table: &str) -> bool
Expand description

Is table a catalogue relation this module serves?

Matched on the BARE name, because the pgwire layer strips the schema qualification before it gets here (pg_catalog.pg_classpg_class). An information_schema. prefix is kept on those names by the caller, since tables and columns are words a user could plausibly name a collection.