diff --git a/src/bin/pg_dump/pg_backup_db.c b/src/bin/pg_dump/pg_backup_db.c index 5968c20..7502f93 100644 *** a/src/bin/pg_dump/pg_backup_db.c --- b/src/bin/pg_dump/pg_backup_db.c *************** *** 282,288 **** ConnectDatabase(Archive *AHX, } } while (new_pass); ! AH->savedPassword = password; /* check to see that the backend connection was successfully made */ if (PQstatus(AH->connection) == CONNECTION_BAD) --- 282,288 ---- } } while (new_pass); ! AH->savedPassword = PQpass(AH->connection); /* check to see that the backend connection was successfully made */ if (PQstatus(AH->connection) == CONNECTION_BAD)