Re: Streaming replication on win32, still broken

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Streaming replication on win32, still broken
Date: 2010-02-17 06:27:17
Message-ID: 20027.1266388037@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)net> writes:
> On Wed, Feb 17, 2010 at 06:55, Fujii Masao <masao(dot)fujii(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-02-17 06:31:22 Re: XQuery support
Previous Message Scott Bailey 2010-02-17 06:23:37 Re: XQuery support