Re: walprotocol.h vs frontends

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: walprotocol.h vs frontends
Дата
Msg-id CA+U5nMJJqn92yfZXupZPDBUvyWVjg9+6VauOB1sV+PLYui77Tw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: walprotocol.h vs frontends  (Magnus Hagander <magnus@hagander.net>)
Список 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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pg_stat_replication vs StandbyReplyMessage
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: Fast GiST index build