postgres.git / summary / log / commit / refs

commit    b5ed21998c13f09fd733c87a224e3fe27e41d34d
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Mon Jul 08 10:01:11 2013 +0000
First released in: 9.4.0

    Fix pg_test_fsync, broken by xloginsert scaling patch.
    
    I didn't realize that ALIGNOF_XLOG_BUFFER was used in pg_test_fsync.


contrib/pg_test_fsync/pg_test_fsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/pg_test_fsync/pg_test_fsync.c b/contrib/pg_test_fsync/pg_test_fsync.c index 53f600f593d..78c94859159 100644 --- a/contrib/pg_test_fsync/pg_test_fsync.c +++ b/contrib/pg_test_fsync/pg_test_fsync.c @@ -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 [parent: 9a20a9b21baa]