joomla/joomla-cms — pull request #4281 by mbabker (2014-09-15 15:33:23+00:00)
Title: Add support for socket based connections in PostgreSQL

While configuring our new Jenkins instance, the current setup is not allowing host based connections but rather requires socket based connections. Our code does not allow for this type of connection as written. This PR modifies the connection processing code for PostgreSQL to enable socket based connections.

### Testing
Being honest, I'm not so certain how this could be tested aside from having an environment where you can run the unit tests on a PostgreSQL database. But, essentially, you have to have an empty host string when the connection is built.