How do clients failover in hot standby/SR? - Mailing list pgsql-general

From Herouth Maoz
Subject How do clients failover in hot standby/SR?
Date
Msg-id C660F5F7-DBF6-4076-B238-653BE2F63EA5@unicell.co.il
Whole thread Raw
Responses Re: How do clients failover in hot standby/SR?  (Andreas Kretschmer <akretschmer@spamfence.net>)
List pgsql-general
We are looking at a replication solution aimed at high availability.

So we want to use PostgreSQL 9's streaming replication/hot standby. But I seem to be missing a very basic piece of
information:suppose the primary is host1 and the secondary is host2. Suppose that when host1 fails host2 detects that
andcreates the trigger file that causes the secondary to act as primary. 

How do all clients, which have connection strings aimed at host1 know to fail over and use host2?

Is there a good Internet resource for reading on this?

Thank you,
Herouth

pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Sequence Ids are not updating after COPY operation in PostgreSQL
Next
From: Andreas Kretschmer
Date:
Subject: Re: How do clients failover in hot standby/SR?