Try to search in path instead of using a hardcoded default path for pg_dump (and restore)

已回答

Hi there,

I came across the issue that when I try to run pg_dump from the UI the path for the executable has a hard-coded default.
While on the most distributions this might not be an issue but as I use nixos the location of the executable is different.

My suggestion would be to search for the executable in the path env by default and then fallback to a (maybe hard-coded) default executable path.

0

Hi David Retzlaff,

We have related feature requests reported in our bug tracker:

  • DBE-16778 - automatically detect the pg_dump home directory,
  • DBE-21439 - bundle the utility with the DataGrip installation.

I've added your suggestions to the comments in DBE-16778. Thank you!

You can upvote these tickets to help increase visibility and subscribe for updates. If you are not familiar with our bug-tracking system, please see this article.

 

0

请先登录再写评论。