提交 5533a272 编写于 作者: H Heikki Linnakangas

Don't assume that 'char' is signed.

On some platforms, notably ARM and PowerPC, 'char' is unsigned by
default. This fixes an assertion failure at WAL replay on such platforms.

Reported by Noah Misch. Backpatch to 9.5, where this was broken.
上级 d7fd22a3
......@@ -465,7 +465,7 @@ typedef struct spgxlogAddNode
* -1: parent not updated
*----
*/
char parentBlk;
int8 parentBlk;
OffsetNumber offnumParent; /* offset within the parent page */
uint16 nodeI;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册