Re: Recovery target 'immediate'

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Recovery target 'immediate'
Дата
Msg-id 20130502235627.GD5933@momjian.us
обсуждение исходный текст
Ответ на Re: Recovery target 'immediate'  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Recovery target 'immediate'
Список pgsql-hackers
On Thu, May  2, 2013 at 09:31:03AM +0200, Magnus Hagander wrote:
> Actually, there is - I hear it quite often from people not so
> experienced in PostgreSQL. Though in fairness, I'm not entirely sure
> the new syntax would help - some of those need a tool to do it for
> them, really (and such tools exist, I believe).
> 
> That said, there is one property that's very unclear now and that's
> that you can only set one of recovery_target_time, recovery_target_xid
> and recovery_target_name. But they can be freely combined with
> recovery_target_timeline and recovery_target_inclusive. That's quite
> confusing.
> 
> 
> 
> > This changes the existing API which will confuse people that know it
> > and invalidate everything written in software and on wikis as to how
> > to do it. That means all the "in case of fire break glass"
> > instructions are all wrong and need to be rewritten and retested.
> 
> Yes, *that* is the main reason *not* to make the change. It has a
> pretty bad cost in backwards compatibility loss. There is a gain, but
> I don't think it outweighs the cost.

So, is there a way to add this feature without breaking the API?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Recovery target 'immediate'
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Remaining beta blockers