Re: Pg_ctl promote -- wait for slave to be promoted fully ?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Pg_ctl promote -- wait for slave to be promoted fully ?
Дата
Msg-id CA+TgmobqgGqn2zRaOKXPj_zwskGfwzohqVWd2m4JQe1J7biRWA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Pg_ctl promote -- wait for slave to be promoted fully ?  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Tue, Aug 7, 2012 at 1:09 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Tue, Aug 7, 2012 at 10:22 PM, Magnus Hagander <magnus@hagander.net> wrote:
>> Should we consider if we can make "pg_ctl -w" work for "promote" as well?
>
> +1
>
>> The main problem is, I guess, that it can't log in - so wed' need
>> something like "PQping()" that actually checked if it was master or
>> slave?
>
> Yes.

Is there a security concern with exposing this information to people
who haven't authenticated?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: WIP: pg_pretty_query
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Inserting heap tuples in bulk in COPY