Guide to importing and exporting PostgreSQL databases.
postgresql-client
.
postgresql-client
.
pg_dump
command. You can open a .sql file with a plain text editor (e.g. TextEdit, Notepad++, Sublime Text, etc.) or a database tool like TablePlus to review the exported data.