0
votes

I'm trying to run a PSQL server through the windows comand line, the instruction is:

postgres -d /usr/local/pgsql/data

The problem is that my bin file is in the program files directory, so when I use this path :

postgres -D C:\Program Files\PostgreSQL\12\bin

I get this error :

postgres : argument invalide : « Files\PostgreSQL\12\bin »

Someone knows how I can run the psql server?

Thanks for your help.

1

1 Answers

0
votes

Put double quotes around the path