Re: [HACKERS] pg_basebackups and slots

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [HACKERS] pg_basebackups and slots
Дата
Msg-id CABUevEx2Vhmy3sP9fj6byU5eiBx7oq90xDwo2qrH7wS7ZVv+UA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] pg_basebackups and slots  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [HACKERS] pg_basebackups and slots  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers


On Fri, Dec 16, 2016 at 7:40 AM, Michael Paquier <michael.paquier@gmail.com> wrote:
On Fri, Dec 16, 2016 at 3:32 PM, Magnus Hagander <magnus@hagander.net> wrote:
> I don't really know how to write a good test for it. I mean, we could run it
> with the parameter, but how to we make it actually verify the slot? Make a
> really big database to make it guaranteed to be slow enough that we can
> notice it in a different session?

No, not that. I was meaning tests to trigger the error code paths with
the compatibility switches you are adding.

There is only one switch - --no-slot. I guess you mean rune one backup with that one? Sure, that's easy enough to do. I'm not sure how much it really tests, but let's do it :)

You mean something like this, right?

--
Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] pg_basebackups and slots
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [HACKERS] pg_basebackups and slots