Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: Can not find pg_dump in a system. #97

Open
khoerodin opened this issue Dec 4, 2019 · 4 comments
Open

Linux: Can not find pg_dump in a system. #97

khoerodin opened this issue Dec 4, 2019 · 4 comments

Comments

@khoerodin
Copy link

Install from Snap on Ubuntu 18.04
postgresql-client already installed:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
postgresql-client is already the newest version (10+190ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

but error still appears:

Type: table

Estimate rows count: 0

Total size on disk: 24 KB (Table: 0 Bytes, Indexes: 16 KB, Toast: 8 KB)

Source SQL
Loading...Error happen while running pg_dump:
Can not find pg_dump in a system. Make sure PostgreSQL client is installed.
On Ubuntu/Debian - package 'postgresql-client'
On RHEL/Fedora - package 'postgresql'
@bohdanbrn
Copy link

bohdanbrn commented Jul 29, 2020

I have the same problem.
Have you solved this issue?

@khoerodin
Copy link
Author

Not yet @bohdanbrn

@Paxa
Copy link
Owner

Paxa commented Oct 17, 2020

When you open terminal and type pg_dump can it find executable?

@Paxa Paxa changed the title Can not find pg_dump in a system. Linux: Can not find pg_dump in a system. Oct 17, 2020
@joacopaz
Copy link

joacopaz commented Feb 16, 2023

This is still an issue. I can find the pg_dump executable in my pc, it's in /etc/bin, but Postbird does not find it.

After checking in Postbird's Window -> Console I can see it properly runs the pg_dump command with the proper parameters, and even says Complete.

If I copy/paste this command into my Linux Terminal it asks me for a password (for the DB user) and dumps it correctly, this can be a useful workaround in the meantime for those of you who want to dump your DB's schema, but does not solve the issue of it not showing in Postbird.

Maybe Postbird's issue could be related to the Password prompt I get when running it in my Linux terminal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants