Re: Use of 8192 as BLCKSZ in xlog.c

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: Use of 8192 as BLCKSZ in xlog.c
Дата
Msg-id dlu0m8$2fr7$1@news.hub.org
обсуждение исходный текст
Ответ на Use of 8192 as BLCKSZ in xlog.c  (Mark Kirkwood <markir@paradise.net.nz>)
Ответы Re: Use of 8192 as BLCKSZ in xlog.c  (Michael Glaesemann <grzm@myrealbox.com>)
Re: Use of 8192 as BLCKSZ in xlog.c  (Mark Kirkwood <markir@paradise.net.nz>)
Список pgsql-hackers
"Mark Kirkwood" <markir@paradise.net.nz> wrote
> In two of the sections covered by #ifdef WAL_DEBUG there are declarations 
> like:
>
> char        buf[8192];
>
> It seems to me that these should be:
>
> char        buf[BLCKSZ];
>

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.

Regards,
Qingqing 




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

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