dblink connect per socket / specify cluster name

From: james garner <jamgarn(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: dblink connect per socket / specify cluster name
Date: 2015-12-21 07:57:58
Message-ID: CAGXbo5o5NUp5su_FOEtybbR42iCfi3SwuiHw6MQqeOugnbjY3A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear list,

i'm running PgSQL 9.3 on Debian installed from the Debian packets.
I'm using dblink to access a different database.
When im trying to connect to the database by socket via
dblink_exec('dbname=test host=/var/run/postgresql' ..
everything works nicely if there's just one db-cluster named 'main'
I didn't find a way however to select a different cluser name.
If a connection is made by TCP, the cluster ist determined by the port, but
how is it done when connecting by socket?
Thanks

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2015-12-21 08:15:00 Re: dblink connect per socket / specify cluster name
Previous Message Konstantin Knizhnik 2015-12-21 07:48:52 Re: Threads in PostgreSQL