I've successfully gotten stellar-core itself to connect to my postgresql database using a Unix socket, like this:
DATABASE="postgresql://dbname=stellarb user=stellarb host=/var/run/postgresql"
Now, I want Horizon to connect over the socket as well, but horizon keeps saying that the database at /var/run/postgresql/horizon can't be found. Here is my connection string:
How would I modify this connection to point to the socket successfully? Does Horizon support connecting over Unix sockets? I'm performing a stress test and think connecting over sockets will speed up the response time of Horizon somewhat. Right now I'm connecting over localhost.