]> 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:26:46 +0000 (10:26 +0300)
commitc03a6ae220630c6d03dddf20789df62131ea6e9e
tree53facc67e7e357c57b2a24c7b77d0fa8f9772426
parent3b8fda6763ceccac0fc5ae0e921568235608252c
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