Fix PGIOAlignedBlock Assert crash in PG16

Relevant PG commit:
faeedbcefd
faeedbcefd40bfdf314e048c425b6d9208896d90
naisila/check_router_fix
naisila 2023-05-15 17:41:20 +03:00
parent 13958e94ce
commit 6de4a6780e
1 changed files with 4 additions and 0 deletions

View File

@ -169,7 +169,11 @@ ColumnarStorageInit(SMgrRelation srel, uint64 storageId)
} }
/* create two pages */ /* create two pages */
#if PG_VERSION_NUM >= PG_VERSION_16
PGIOAlignedBlock block;
#else
PGAlignedBlock block; PGAlignedBlock block;
#endif
Page page = block.data; Page page = block.data;
/* write metapage */ /* write metapage */