Re: pg_receivexlog add synchronous mode - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: pg_receivexlog add synchronous mode
Date
Msg-id CAHGQGwFRivhYHUNpYN9VdrEU7Ww=sTF-1QpzESquFYT3YcoGhg@mail.gmail.com
Whole thread Raw
In response to Re: pg_receivexlog add synchronous mode  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pg_receivexlog add synchronous mode
List pgsql-hackers
On Tue, Aug 5, 2014 at 9:04 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Tue, Jul 29, 2014 at 7:07 PM,  <furuyao@pm.nttdata.co.jp> wrote:
>> I have improved the patch  by making following changes:
>>
>> 1. Since stream_stop() was redundant, stream_stop() at the time of WAL file closing was deleted.
>>
>> 2. Change the Flash judging timing for the readability of source code.
>>    I have changed the Flash judging timing , from the continuous message after receiving to
>>    before the feedbackmassege decision of continue statement after execution.
>
> Thanks for the updated version of the patch!
>
> While reviewing the patch, I found that HandleCopyStream() is still
> long and which decreases the readability of the source code.
> So I feel inclined to refactor the HandleCopyStream() more for better
> readability. What about the attached refactoring patch?

Sorry, I forgot to attached the patch in previous email. So attached.

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: pg_receivexlog add synchronous mode
Next
From: Roberto Mello
Date:
Subject: Re: PostrgeSQL vs oracle doing 1 million sqrts am I doing it wrong?