Fixed result for pg connection.