mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Fix pg_test_fsync, broken by xloginsert scaling patch.
I didn't realize that ALIGNOF_XLOG_BUFFER was used in pg_test_fsync.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user