Re: unite recovery.conf and postgresql.conf

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unite recovery.conf and postgresql.conf
Дата
Msg-id 9991.1316883698@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: unite recovery.conf and postgresql.conf  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: unite recovery.conf and postgresql.conf
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> ... The time to replace it is now and I
> welcome that day and have already agreed to it.

Okay, so you do agree that eventually we want to be rid of
recovery.conf?  I think everyone else agrees on that.  But if we are
going to remove recovery.conf eventually, what is the benefit of
postponing doing so?  The pain is going to be inflicted sooner or later,
and the longer we wait, the more third-party code there is likely to be
that expects it to exist.  If optionally reading it helped provide a
smoother transition, then maybe there would be some point.  But AFAICS
having a temporary third behavior will just make things even more
complicated, not less so, for third-party code that needs to cope with
multiple versions.

> The semantics are clear: recovery.conf is read first, then
> postgresql.conf. It's easy to implement (1 line of code) and easy to
> understand.

It's not clear to me why the override order should be that way; I'd have
expected the other way myself.  So this isn't as open-and-shut as you
think.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Large C files
Следующее
От: Tom Lane
Дата:
Сообщение: Re: unite recovery.conf and postgresql.conf