Postgres “psql not recognized as an internal or external command”

前端 未结 10 1732
南方客
南方客 2021-02-02 06:07

For Postgres, I keep getting this error multiple times even though I have already set the location of the bin folder to the path variable in Windows 8. Is there something else I

10条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-02 06:36

    Enter this path in your System environment variable.

    C:\Program Files\PostgreSQL\[YOUR PG VERSION]\bin
    

    In this case i'm using version 10. If you check the postgres folder you are going to see your current versions.

    In my own case i used the following on separate lines:

    C:\Program Files\PostgreSQL\10\bin
    C:\Program Files\PostgreSQL\10\lib
    

提交回复
热议问题