p:: Database f:: CLI, Homebrew, Postgres Docker
- Why upgrade PostgreSQL?
- Explain PostgreSQL
- https://edu.postgrespro.com/postgresql_internals-14_en.pdf
- GitHub - pgbackrest/pgbackrest: Reliable PostgreSQL Backup & Restore
- Explaining The Postgres Meme
Install
postgresql - Correct way to install psql without full Postgres on macOS? - Stack Overflow
This would give you psql, pg_dump and a whole bunch of other client utilities without installing Postgres.
The Password File
PostgreSQL: Documentation: 15: 34.16. The Password File
The file .pgpass
in a user’s home directory can contain passwords to be used if the connection requires a password (and no password has been specified otherwise).
This file should contain lines of the following format:
hostname:port:database:username:password
Then, set the file’s mode to 0600
. Otherwise, it will be ignored.