Re: Streaming replication on win32, still broken - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Streaming replication on win32, still broken
Date
Msg-id 20027.1266388037@sss.pgh.pa.us
Whole thread Raw
In response to Re: Streaming replication on win32, still broken  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Streaming replication on win32, still broken
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Wed, Feb 17, 2010 at 06:55, Fujii Masao <masao.fujii@gmail.com> wrote:
>> 2. Straightforwardly observe the alignment rule. Since the received WAL
>> � data might start at the middle of WAL block, walreceiver needs to keep
>> � the last half-written WAL block for alignment. OTOH since the received
>> � data might end at the middle of WAL block, walreceiver needs zero-padding.
>> � As a result, walreceiver writes the set of the last WAL block, received
>> � data and zero-padding.

> May there be other reasons to d this as well?

Writing misaligned data is certain to be expensive even when it works...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: auto_explain causes regression failures
Next
From: Tom Lane
Date:
Subject: Re: XQuery support