Re: walprotocol.h vs frontends - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: walprotocol.h vs frontends
Date
Msg-id CA+U5nMJJqn92yfZXupZPDBUvyWVjg9+6VauOB1sV+PLYui77Tw@mail.gmail.com
Whole thread Raw
In response to Re: walprotocol.h vs frontends  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Tue, Aug 16, 2011 at 9:35 AM, Magnus Hagander <magnus@hagander.net> wrote:

>> So right now what we do is allow a single packet to span multiple
>> files, but since MAX_SEND_SIZE is 128KB it will always be smaller than
>> a single file, so we can only ever span two files at most.
>
> Unless someone has tweaked their xlog segment size to insane values.

We should limit MAX_SEND_SIZE to be same or less than WAL_SEGMENT_SIZE.

We gain nothing by continuing to allow the existing code to work in
the way it does.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pg_stat_replication vs StandbyReplyMessage
Next
From: Alexander Korotkov
Date:
Subject: Re: WIP: Fast GiST index build