Now I only have connection dial timeout setting, but I also need read/write timeouts. Network is unreliable and without this timeouts my queries can block forever. So network timeouts are strong requirement for me.
I found driver-wrapper https://github.com/Kount/pq-timeouts with this feature, but I think this setting should present in original driver.