Qingqing Zhou wrote:
"Mark Kirkwood" <[EMAIL PROTECTED]> 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.


Thanks - of course, different sort of buffer!

It is a bit more obvious now that I'm running with WAL_DEBUG enabled, and can see that nature of the output. As has been suggested, maybe a comment about the size and nature of 'buf' might be a nice addition.

cheers

Mark

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to