how to set postgres username and password on windows 10 code example
Example: set username and password for postgresql database
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"