]> 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:27:09 +0000 (10:27 +0300)
commit79eb0ebd1287a29af186c0c6077da295f7622d4d
treece0060ab5e7a395dbee3bb8eb18a9c1f47e284aa
parent0c2eb989ea93f3e0ccbbbf39853bcd3e23879603
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