问题
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