Adding registry tables to db:pg:staff “C:/Program Files/PostgreSQL/12/bin/psql” failed to start

你。 提交于 2021-01-29 05:19:20

问题


When I try to deploy my postgres database using sqitch, I face this issue adding registry tables to db:pg:staff:

C:/Program Files/PostgreSQL/12/bin/psql" failed to start: "The filename, directory name, or volume label syntax is incorrect"

But my psql in this path C:\Program Files\pgsql\bin. Where I should change this path, psql command added on environment variable


回答1:


this issue solved by

  • added psql environment variable with your correct path

  • added it in your project sqitch conf to be like that

    [engine "pg"] client = psql



来源:https://stackoverflow.com/questions/65817866/adding-registry-tables-to-dbpgstaff-c-program-files-postgresql-12-bin-psql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!