PSQL Conecte -se como usuário com senha
# "-W" will prompt for the password
psql -h <host-ip> -d <database-name> -U <username> -W
Muddy Moose
# "-W" will prompt for the password
psql -h <host-ip> -d <database-name> -U <username> -W
sudo -u postgres psql postgres
\password postgres