2 artifacts
Tap to collapse details
postgres
sudo apt update && sudo apt install postgresql postgresql-contrib
psql -U postgres
Test connection:
\l -- List databases CREATE DATABASE testdb; \q psql -U postgres -d testdb
This builds your hands-on lab.
❌ Service fails to start after install
→Check port 5432 is free, restart service via pgAdmin or `sudo systemctl start postgresql`
❌ Forgot superuser password
→Use pg_ctlcluster to reset or reinstall with new password
Tap to expand details
Spin up a personalized “learn PostgreSQL” plan you can save, check off, and return to anytime — unlimited on the free trial.
pgexercises.com
W3Schools
Michigan Online
by Neil Matthew, Richard Stone
by Salahaldin Juba, Andrey Volkov
Full manual, tutorials, and reference
Step-by-step beginner guide
Feature-rich GUI for PostgreSQL management
Interactive terminal for PostgreSQL
Universal SQL client supporting PostgreSQL