Re: Replication issue

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Replication issue
Дата
Msg-id f1140aa2-35e8-d5a8-62e9-db358708d61d@aklaver.com
обсуждение исходный текст
Ответ на Replication issue  (Sonam Sharma <sonams1209@gmail.com>)
Ответы Re: Replication issue
Список pgsql-general
On 4/17/20 6:31 AM, Sonam Sharma wrote:
> I have setup db replication. And added below parameter in jdbc file . 
> The connection is failing and it's throwing error like db doesn't exist 
> on secondary server.
> 
> jdbc:postgresql://<primaryhost>:50001,172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true 
> <http://172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true>
> 
> .PSQLException: FATAL: database ",172.29.195.216 
> <tel:+17229195216>:50001/crowd" does not exist
> 
> 
> Can someone help on this issue?
> 

Set up replication using what?

The URL above does not look correct to me. Pretty sure the ',' does not 
belong there.


-- 
Adrian Klaver
adrian.klaver@aklaver.com



В списке pgsql-general по дате отправления:

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: performance of first exec of prepared statement
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Could not resolve host name error in psycopg2