티스토리 뷰
Database/SQL
PostgreSQL Please correct the Binary Path in the Preferences dialog 해결 방법
둠드 2022. 9. 19. 12:41PostgreSQL을 처음 설치하고
Sample schema를 적용해서 연습을 해보고 싶은데
데이터베이스를 생성하여, Restore을 하려니
Please correct the Binary Path in the Preferences dialog 라는 문구가 나오면서 Restore이 안된다면,

말 그대로 Binary Path를 적용해주면 된다.
Files -> preferences 를 클릭해서 Binary path를 찾은 다음

해당 버전의 경로에 pg_restore.exe가 위치해있는
C:\Program Files\PostgreSQL\14\bin 를 입력해주면 된다.
경로에서 알 수 있듯이 현재 사용중인 버전은 PostgreSQL 14버전이므로
14에 입력해주면 된다.
이제 다시 Restore을 눌렀을 때 정상적으로 창이 나오면 완료.
버전에 따라 오류 문구가

Utility file not found. Please correct the Binary Path in the Preferences dialog로 나오는 것 같지만, 문구와 해결방법은 거의 같다.