Les commandes à connaitre

-- List all available commands
\\?

-- List all database schema
SELECT schema_name
FROM information_schema.schemata;

-- List all databases
\\l

-- Switch database
\\c

-- List all table in database
\\dt

-- List all index
\\di

-- List all users
\\du

-- List all groups
\\dg

-- Get commands historic
\\s

-- Get postgresql settings
SELECT name, setting FROM pg_settings;

PostgresqlCO.NF: PostgreSQL configuration for humans