From: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
---|---|
To: | ikedamsh <ikedamsh(at)oss(dot)nttdata(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: It is not documented that pg_promote can exit standby mode |
Date: | 2020-04-17 04:40:02 |
Message-ID: | a0df06f3-4441-ce7f-582e-ee4c023ddf1e@oss.nttdata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2020/04/17 13:11, ikedamsh wrote:
> Hi,
>
> The document(high-availability.sgml) says that there are only two ways to exit standby mode.
>
> 26.2.2. Standby Server Operation
> Standby mode is exited and the server switches to normal operation when pg_ctl promote is run or a trigger file is found (promote_trigger_file).
>
> But there is another way, by calling pg_promote function.
> I think we need to document it, doesn't it?
>
> I attached a patch. Please review and let me know your thoughts.
Thanks for the report and the patch! It looks good to me.
Barring any objection, I will commit this patch.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2020-04-17 04:54:39 | Re: It is not documented that pg_promote can exit standby mode |
Previous Message | Michael Paquier | 2020-04-17 04:21:02 | Re: ERROR: could not open file "pg_tblspc/ issue with replication setup. |