Use of 8192 as BLCKSZ in xlog.c

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Use of 8192 as BLCKSZ in xlog.c
Дата
Msg-id 438284AA.2040106@paradise.net.nz
обсуждение исходный текст
Список pgsql-hackers
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];

- or have I misunderstood what is going on here?

I realize that it's probably not terribly significant, as most people 
will do development with BLCKSZ=8192 anyway - I'm just trying to 
understand the code ... :-).

regards

Mark





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

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