mirror of https://github.com/citusdata/citus.git
Fix PGIOAlignedBlock Assert crash in PG16
Relevant PG commit:
faeedbcefd
faeedbcefd40bfdf314e048c425b6d9208896d90
naisila/check_router_fix
parent
13958e94ce
commit
6de4a6780e
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue