]> granicus.if.org Git - postgresql/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:54 +0000 (10:26 +0300)
commita4c4e0bf60f0f8dbe2556fabd94eb827ae376032
tree8d7c7b58f2ebfd8bd82160baa85fb44a3e87e033
parent2b3136de9ed80cf89287651048d1597ebc1b4b6d
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