Thread: Error On Slony Replication

Error On Slony Replication

From
Prashant Bharucha
Date:
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

Re: Error On Slony Replication

From
Brandon Phelps
Date:
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
>

Re: Error On Slony Replication

From
Raymond O'Donnell
Date:
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

Re: Error On Slony Replication

From
Scott Mead
Date:

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
 
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

Re: Error On Slony Replication

From
Prashant Bharucha
Date:
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:

From: Raymond O'Donnell <rod@iol.ie>
Subject: Re: [GENERAL] Error On Slony Replication
To: "Prashant Bharucha" <prashantbharucha@yahoo.ca>
Cc: pgsql-general@postgresql.org
Received: Wednesday, November 2, 2011, 2:55 PM

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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general