Re: Use of 8192 as BLCKSZ in xlog.c

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Use of 8192 as BLCKSZ in xlog.c
Date: 2005-11-22 02:44:54
Message-ID: dlu0m8$2fr7$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


"Mark Kirkwood" <markir(at)paradise(dot)net(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Glaesemann 2005-11-22 02:57:52 Re: Use of 8192 as BLCKSZ in xlog.c
Previous Message Mark Kirkwood 2005-11-22 02:38:34 Use of 8192 as BLCKSZ in xlog.c