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

From Heikki Linnakangas
Subject pgsql: Use correctly-sized buffer when zero-filling a WAL file.
Date
Msg-id E1WaKHL-0000d4-GM@gemulon.postgresql.org
Whole thread Raw
List 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_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a4c4e0bf60f0f8dbe2556fabd94eb827ae376032

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


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Use correctly-sized buffer when zero-filling a WAL file.
Next
From: Bruce Momjian
Date:
Subject: pgsql: check socket creation errors against PGINVALID_SOCKET