Removing the postgres user altogether might work. Not sure of windows, but I used to get that error on Mac and removing postgres user worked for me.
++pgsql-admin
On Sun, Sep 22, 2019 at 7:57 PM Doug Easterbrook <doug@artsman.com> wrote:
I might just say that this advice is a little harsh.
I’ve never had any problem with enterprise DB’s Postgres installers for windows. if you have your machine generally up todate with latest patches and you are using 64 bit OS like win 2008 server, 2012 server 2016 server, 2019 server, win 81. or win 10 — it basically installs out the gate.
I’ve never fussed with it. I’ve ben buil my on installers around it .. The only parameters I give to the postgres install package are
Hello there im in windows trying to install both postreSQL 11 a and Pgadmin 4 but without good progress.
im keeping on receiving an error "database cluster not initialized" have used all the solutions eg
adding postgres in computer management and giving it full rights on the security properties section in postgreSQL file folder though during reinstallation its telling me to chose another directory to upgrade the current application.
i also tried to install afresh postgres using the command prompt still not yet
ALSO INCLUDED THE POSTGRES PATH IN THE ENVIRONMENT VARIABLE still not working
Advise from there please
Yes, Windows and PostgreSQL are not the best friends and that's OK.
Why don't you just go down the Docker route and stop trying to use Windows for PostgreSQL.
There is no easier method to get started with both than Docker.
--
With kind regards / Mit freundlichen Grüßen
Andreas Steinel M.Sc. Visual Computing M.Sc. Informatik