Re: It is not documented that pg_promote can exit standby mode

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: ikedamsh <ikedamsh@oss.nttdata.com>, pgsql-hackers@postgresql.org
Date: 2020-04-17T17:46:37Z
Lists: pgsql-hackers
Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> Thanks for the report and the patch! It looks good to me.
> Barring any objection, I will commit this patch.

It might be worth writing "<function>pg_promote()</function> is called"
(adding parentheses) to make it clearer that a function is being
referred to.  No objection otherwise.

			regards, tom lane



Commits

  1. Fix function name in comment.

  2. Mention pg_promote() as a method to trigger promotion in documentation.