I\'m running PostgreSQL on mt Windows 7 machine. To run a database I type:
C:\\psql -Upostgres mydb
and this works, but it would be nice i
Just to add more information. From official documentation: you can specify the user under which createuser utility logs in to postgres via environment variable:
PGUSER
One liner for powershell:
& { $env:PGUSER="postgres"; .\createuser.exe Eric}