Re: Function to promote standby servers

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Function to promote standby servers
Дата
Msg-id 7ba942ae951d47167bea17edad803608171d98e9.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Function to promote standby servers  (Masahiko Sawada <sawada.mshk@gmail.com>)
Ответы Re: Function to promote standby servers
Re: Function to promote standby servers
Список pgsql-hackers
Masahiko Sawada wrote:
> Maybe the patch needs regression tests for the new function. And I'd
> suggest to make the function name more clear by changing to
> pg_promote_server(), pg_promote_standby() and so on.

Thanks for the review.

The attached patch has regression tests - I though it would be good
to change some of the existing tests that run standby promotion to
use the SQL function instead of pg_ctl.

I have left the name though -- as far as I can tell, "promote" has
no other meaning in PostgreSQL than standby promotion, and I believe
it is only good to be more verbose if that avoids confusion.

Yours,
Laurenz Albe

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: PostgreSQL 12, JIT defaults
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 12, JIT defaults