Fixed error in creating pooled PostgresDB with pgdb driver.

This issue was fixed for non-pooled (without DBUtils) connections in 35674c8cd49e29853e8728fdf5fdb4ab0da5b58a

Simply copying the same fix for pooled connections works fine.