Skip to content

Commit b5ed219

Browse files
committed
Fix pg_test_fsync, broken by xloginsert scaling patch.
I didn't realize that ALIGNOF_XLOG_BUFFER was used in pg_test_fsync.
1 parent 9a20a9b commit b5ed219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_test_fsync/pg_test_fsync.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ prepare_buf(void)
206206
for (ops = 0; ops < XLOG_SEG_SIZE; ops++)
207207
full_buf[ops] = random();
208208

209-
buf = (char *) TYPEALIGN(ALIGNOF_XLOG_BUFFER, full_buf);
209+
buf = (char *) TYPEALIGN(XLOG_BLCKSZ, full_buf);
210210
}
211211

212212
static void

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy