Question on removing primary replication node using repmgr?

Поиск
Список
Период
Сортировка
От Lu, Dan
Тема Question on removing primary replication node using repmgr?
Дата
Msg-id MN2PR19MB361337CFB8DDE55B9E9C9D7B94B60@MN2PR19MB3613.namprd19.prod.outlook.com
обсуждение исходный текст
Список pgsql-general

Hello,

 

I used repmgr extension for Postgresql to setup replication.

 

I want to remove the replication because it appears WAL files are generated even after unregistering the standby instance and putting primary instance in no archivelog mode.

 

Can you help?

 

 

 

host:> repmgr -f /home/postgresdbad/dbalocal/admin/repmgr.conf primary unregister

ERROR: node "host" (ID: 1) is the current primary node, unable to unregister

 

host:> repmgr -f /home/postgresdbad/dbalocal/admin/repmgr.conf primary unregister --node-id 1

ERROR: node "host" (ID: 1) is the current primary node, unable to unregister

 

ID | Name           | Role    | Status    | Upstream | Location | Priority | Timeline | Connection string

----+----------------+---------+-----------+----------+----------+----------+----------+-----------------------------------------------------------------

1  | host | primary | * running |          | default  | 100      | 1        | host=host user=repmgr dbname=repmgr connect_timeout=2




IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: SET ROLE and search_path
Следующее
От: Patrick FICHE
Дата:
Сообщение: Re: SET ROLE and search_path