Replies: 1 comment
-
The thinking was that not everyone has pg_dump installed, and that shouldn't be a blocker. If you run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the provided code, the error from the DumpSchema function is explicitly silenced in the following block:
dbmate/pkg/dbmate/db.go
Line 418 in 48032cb
This means that if DumpSchema fails, the error is ignored, and the program continues execution without notifying the user. While this might seem convenient in some cases, it can lead to significant issues.
Specifically, in my case, the error indicating that PostgreSQL (pg_dump) was not installed or not in the PATH was suppressed, making it harder to debug the problem.
@amacneil
Beta Was this translation helpful? Give feedback.
All reactions