Multiple sockets

12 views
Skip to first unread message

xgp.l...@gmail.com

unread,
Jul 21, 2020, 7:31:06 PM7/21/20
to web2py-users

Hi,

Is there a way to specify socket name for DB connection?
Actually is only possible to specify directory, but i have multiple sockets on a postgres 11 cluster setup.

Ex:

Cluster 1
postgres2://postgres:postgrespass@/dbname?unix_socket=/tmp/.s.PGSQL.5432

Cluster 2
postgres2://postgres:postgrespass@/dbname?unix_socket=/tmp/.s.PGSQL.5453



Thanks in advanced,

Reply all
Reply to author
Forward
0 new messages