~/.pgpass file
PostgreSQL passwords for the client: lines host:port:database:role:password, mode 0600 — otherwise the file is skipped with a warning. The PGPASSWORD variable takes precedence.
PostgreSQL passwords for the client: lines host:port:database:role:password, mode 0600 — otherwise the file is skipped with a warning. The PGPASSWORD variable takes precedence.