pgsql: Use correctly-sized buffer when zero-filling a WAL file.
pgsql: Use correctly-sized buffer when zero-filling a WAL file.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/848b9f05ab283724dd063d936a92568c1fdf422b Modified Files -------------- src/backend/access/transam/xlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)