Answer the question
In order to leave comments, you need to log in
Can't install PostgreSQL on Windows 10?
I can't install PostgreSQL, I did everything according to the instructions, I've already demolished and reinstalled it three times, the instruction DOES NOT WORK, or is outdated. Windows 10 system.
Downloaded, everything is in the folder C:\Program Files\PostgreSQL\10
Unpacked everything, everything was installed, the window closed. Then I did it according to the instructions - I opened the command line, entered
setx PATH "%PATH%;C:\Program Files\PostgreSQL\10\bin"
In response, the computer writes: "Warning. The saved data will be truncated to 1024 characters. Success. The specified value is saved ."
Further, according to the instructions, I closed the command line, rebooted. And... N-I-W-E-G-O, on the command line, when I try to type at least psql, "psql" is not recognized as an internal or external command, operable program, or batch file.
Well, what else do you need? Hands down from these endless instructions that do not work! Help, Guru Janga….
Answer the question
In order to leave comments, you need to log in
Try not to install through the command line (which is very primitive in Windows), but through the properties of "my computer" -> Advanced -> Environment variables.
If you can’t install it there, then edit the value of the variable and throw out any garbage from programs that were once installed but are no longer used, or are not so important.
1) edit your PATH environment variable, cutting out the trash from there;
2) Use the full path to launch: C:\Program Files\PostgreSQL\10\bin\psql
PS. What kind of young people have gone, a step to the left of the instructions and everything is gone, you must already add to the last paragraph - throw out the computer.
First, look at your path variable, if the path to the postgres is not added there, then what is surprising that Windows does not find psql? At the same time, you will see if there is anything superfluous there and if this path can be shortened.
Secondly, who needs a postgres path in path? If you need to run psql, well, you go to the right directory and work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question