'Soda CLI show warning : Migrator: unable to dump schema: exec: "pg_dump": executable file not found in $PATH

I'm new on using gobuffalo, and every time i run migrate always show this warning. What is the meaning of that warning?

> soda migrate up
v5.3.1

[POP] 2021/05/25 14:17:12 info - > create_products
[POP] 2021/05/25 14:17:12 info - Successfully applied 1 migrations.
[POP] 2021/05/25 14:17:12 info - 0.0829 seconds
[POP] 2021/05/25 14:17:12 warn - Migrator: unable to dump schema: exec: "pg_dump": executable file not found in $PATH

Is there something wrong in my server or this warning not effect anything? any help will be appreciated.

Thank you!



Solution 1:[1]

I just added in PATH variable location to PostgreSQL/bin directory. For example how PATH variable can be change in Windows can be found: https://www.computerhope.com/issues/ch000549.htm

For me it solved the issue.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Martins