]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use correctly-sized buffer when zero-filling a WAL file.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 16 Apr 2014 07:21:09 +0000 (10:21 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 16 Apr 2014 07:27:01 +0000 (10:27 +0300)
commit61df3d090c0e42fd0ad06e5a3d70aca148107c30
treebc568f1319eb2930c284017f78e459caa75bfd68
parent0de1068365909970eb75c51d82467d28631b63ef
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.
src/backend/access/transam/xlog.c