Reputation: 1545
I'm trying load a tar file using pgAdmin, but it's failing and all I get is exit code 3221225781. This code seems to indicate a missing dll What is exit code 3221225781 on windows? but I'm not sure why this would be or what dll to look for.
Upvotes: 28
Views: 42770
Reputation: 642
Even when the Binary paths
are correctly set in the Preferences
, you can sometimes still get this error.
To find the root-cause of this error, you can click on the validate
button next to the path and it will show you the actual problem.
As you can see, the path is correct however the actual issue is displayed when the validate
button is pressed.
In my case though, the pg_dump
and pg_restore
are actually present at the path however, I seem to be missing a library which is causing this (Getting this error when manually executing it).
Re-installing or installing a newer version fixed this for me.
Upvotes: 0
Reputation: 1157
For Me, I have installed several postgress versions:10,13 and 14. And I've been using version 10 for learning purpose.
So I have copied the bin folder path from 'C:\Program Files\PostgreSQL\10\bin'
Then set this path as the default
BEFORE UPDATE :
AFTER UPDATE PATH :
Upvotes: 5
Reputation: 1545
Updating the path in pgAdmin fixed this.
Steps:
Select Databases > File > Preferences > Paths > Binary paths.
Then edit to C:\Program Files\PostgreSQL\15\bin.
You'll need to use a different path if you're on a different version of PostgreSQL.
Upvotes: 73
Reputation: 111
You need to change the path in pgadmin. In my case, I have PostgreSQL 16.
Go to File/Preferences/Paths/Binary_paths
Choose your PostgreSQL version and change to the binary path as:
C:\Program Files\PostgreSQL\16\bin.
Upvotes: 11