Commit b5ed2199 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix pg_test_fsync, broken by xloginsert scaling patch.

I didn't realize that ALIGNOF_XLOG_BUFFER was used in pg_test_fsync.
parent 9a20a9b2
......@@ -206,7 +206,7 @@ prepare_buf(void)
for (ops = 0; ops < XLOG_SEG_SIZE; ops++)
full_buf[ops] = random();
buf = (char *) TYPEALIGN(ALIGNOF_XLOG_BUFFER, full_buf);
buf = (char *) TYPEALIGN(XLOG_BLCKSZ, full_buf);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment