Обсуждение: Error On Slony Replication
Hello All For replication ,Created cluster and after I run Slon command getting error on PQconnectdb("dbname=XYZ host= user=cls password=11111) failed - could not translate host name Could you please help ? Thx Prashant |
Why do you have host= without a hostname? Where is your closing "? Brandon Phelps Global Linking Solutions O: (704) 973-6855 C: (704) 222-2103 E: bphelps@gls.com On 11/02/2011 02:34 PM, Prashant Bharucha wrote: > Hello All > > For replication ,Created cluster and after I run Slon command > > getting error on > > PQconnectdb("dbname=XYZ host= user=cls password=11111) failed - could > not translate host name > > > Could you please help ? > > Thx > Prashant >
On 02/11/2011 18:34, Prashant Bharucha wrote: > Hello All > > For replication ,Created cluster and after I run Slon command > > getting error on > > PQconnectdb("dbname=XYZ host= user=cls password=11111) failed - could > not translate host name The host is missing from the above. Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie
On Wed, Nov 2, 2011 at 2:55 PM, Raymond O'Donnell <rod@iol.ie> wrote:
On 02/11/2011 18:34, Prashant Bharucha wrote:
> Hello All
>
> For replication ,Created cluster and after I run Slon command
>
> getting error on
>
> PQconnectdb("dbname=XYZ host= user=cls password=11111) failed - could
> not translate host name
If you want to connect to an instance on the local machine with unix sockets, don't include the host=
--
Scott Mead
OpenSCG http://www.openscg.com
The host is missing from the above.
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
But Host Address should take automatically, same thing is working good on other machine. --- On Wed, 11/2/11, Raymond O'Donnell <rod@iol.ie> wrote:
|