Re: Use of 8192 as BLCKSZ in xlog.c

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Use of 8192 as BLCKSZ in xlog.c
Дата
Msg-id CF1E0051-1729-4A64-B054-4D442D1823D3@myrealbox.com
обсуждение исходный текст
Ответ на Re: Use of 8192 as BLCKSZ in xlog.c  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Ответы Re: Use of 8192 as BLCKSZ in xlog.c  (Qingqing Zhou <zhouqq@cs.toronto.edu>)
Список pgsql-hackers
On Nov 22, 2005, at 11:44 , Qingqing Zhou wrote:

>
> "Mark Kirkwood" <markir@paradise.net.nz> wrote
>> In two of the sections covered by #ifdef WAL_DEBUG there are  
>> declarations
>> like:
>>
>> char        buf[8192];
>>
> Those two 8192 have nothing to do with BLCKSZ, it is just an arbitrary
> buffer size as long as it is big enough to hold debug information.

Would it make sense to abstract that out so it's clear that it's  
*not* related to BLCKSZ? Or maybe just a comment would be enough.

Michael Glaesemann
grzm myrealbox com





В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: Use of 8192 as BLCKSZ in xlog.c
Следующее
От: Qingqing Zhou
Дата:
Сообщение: Re: Use of 8192 as BLCKSZ in xlog.c