Re: Turning recovery.conf into GUCs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Turning recovery.conf into GUCs
Дата
Msg-id 20141202183151.GP1737@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Turning recovery.conf into GUCs  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Josh Berkus wrote:
> On 12/02/2014 06:25 AM, Alex Shulgin wrote:

> > Whatever tricks we might employ will likely
> > be defeated by the fact that the oldschool user will fail to *include*
> > recovery.conf in the main conf file.
> 
> Well, can we merge this patch and then fight out what to do for the
> transitional users as a separate patch?

You seem to be saying "I don't have any good idea how to solve this
problem now, but I will magically have one once this is committed".  I'm
not sure that works very well.

In any case, the proposal upthread that we raise an error if
recovery.conf is found seems sensible enough.  Users will see it and
they will adjust their stuff -- it's a one-time thing.  It's not like
they switch a version forwards one week and back the following week.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Воронин Дмитрий
Дата:
Сообщение: Getting references for OID
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: How about a option to disable autovacuum cancellation on lock conflict?