Re: Bug of pg_receivexlog -v

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Bug of pg_receivexlog -v
Дата
Msg-id CAHGQGwHJjryCV5U3ED8jOF1UUBdO92f9jbZ279vdqRC84zJ70Q@mail.gmail.com
обсуждение исходный текст
Ответ на Bug of pg_receivexlog -v  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Bug of pg_receivexlog -v  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Fri, Aug 1, 2014 at 8:35 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> Hi,
>
> In 9.2, pg_receivexlog -v has emitted the messages as follows at the
> end of each WAL file.
>
> pg_receivexlog: finished segment at 0/2000000 (timeline 1)
> pg_receivexlog: finished segment at 0/3000000 (timeline 1)
> pg_receivexlog: finished segment at 0/4000000 (timeline 1)
>
> But, while reviewing the pg_receivexlog patch written by Furuya, I
> found that 0b63291 had
> broken this feature, and then now pg_receivexlog -v doesn't emit such
> messages at all.
> Attached patch fixes this problem. This needs to be back-patched to 9.3.

I found another problem on pg_receivexlog, which can cause the leak of
PGresult. The leak is small and rare, but it's better to fix that.
Patch attached.

Regards,

--
Fujii Masao

Вложения

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

Предыдущее
От: Anastasia Lubennikova
Дата:
Сообщение: Re: Index-only scans for GIST
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: Proposal: Incremental Backup