Schema
PostgreSQL schema's should be unique and different from each other
Allows you to organise database objects
Schema allow multiple users to interact with one database without interfering with each other
Allow access and limit database objects to be accessed by the user.
PG_CATALOG
PostgreSQL stores the metadata information about the database and cluster in the schema
pg_catalog
.This information is partially used by PostgreSQL itself to keep track things itself, but it also presented so external people/processes can understand whats inside the database.
pg_catalog
schema contains system tables and all the built-in types, functions and operators.pg_catalog
is effectively part of the search path. Although if it is not named explicitly in the path then it is implicitly searched before searching the path's schema.
Last updated