Connecting to a PostgreSQL database using a Unix socket