Re: pg_receivexlog and replication slots

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pg_receivexlog and replication slots
Дата
Msg-id 20140819090355.GC11993@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: pg_receivexlog and replication slots  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: pg_receivexlog and replication slots  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On 2014-08-19 18:02:32 +0900, Fujii Masao wrote:
> On Tue, Aug 19, 2014 at 5:52 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> > On 2014-08-18 14:38:06 +0900, Michael Paquier wrote:
> >> - IDENTIFY_SYSTEM checks were incorrect (even in HEAD). The following
> >> check was done but in 9.4 this command returns 4 fields:
> >> (PQntuples(res) != 1 || PQnfields(res) < 3)
> >
> > Which is correct. We don't want to error out in the case where 3 columns
> > are returned because that'd unnecessarily break compatibility with <
> > 9.4. Previously that check was != 3...
> >
> > This isn't a bug.
> 
> Okay, I understood why you didn't update those codes.
> 
> Since we don't allow replication between different major versions,
> it's better to apply this change at least into libpqwalreceiver.c. Thought?

We'd discussed that we'd rather keep it consistent. It also results in a
more explanatory error message lateron.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: pg_receivexlog and replication slots
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: pg_receivexlog and replication slots