Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Postgres

Relation dababase

Tips

Just connect to Postgres in localhost


% psql

Make backup a full backup


% pg_dumpall > full_dump.sql

Check tablespaces


postgres=# \db

Check roles:

  SELECT * FROM pg_roles;

Update password on Role:

  ALTER ROLE replica_user ENCRYPTED PASSWORD '<PASSWORD>';