Use correctly-sized buffer when zero-filling a WAL file.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 61df3d090c0e42fd0ad06e5a3d70aca148107c30
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2014-04-16T07:27:01Z
Releases: 9.1.14
Use correctly-sized buffer when zero-filling a WAL file.

I mixed up BLCKSZ and XLOG_BLCKSZ when I changed the way the buffer is
allocated a couple of weeks ago. With the default settings, they are both
8k, but they can be changed at compile-time.

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +2 −2