pgsql: Use correctly-sized buffer when zero-filling a WAL file.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use correctly-sized buffer when zero-filling a WAL file.
Date: 2014-04-16 07:29:07
Message-ID: E1WaKHL-0000d5-Hl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/61df3d090c0e42fd0ad06e5a3d70aca148107c30

Modified Files
--------------
src/backend/access/transam/xlog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-04-16 14:46:00 pgsql: check socket creation errors against PGINVALID_SOCKET
Previous Message Peter Eisentraut 2014-04-16 03:23:32 Re: [COMMITTERS] pgsql: Add TAP tests for client programs