Libpq eklentisini sürüm 10 ve üzerine update etmeniz gerekiyor ya da scram yerine md5 kullanmanız.

https://stackoverflow.com/a/62808487