mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-07 01:26:52 +02:00
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.
This commit is contained in:
parent
d09c873f63
commit
1b7f125bf7
@ -465,7 +465,7 @@ typedef struct spgxlogAddNode
|
||||
* -1: parent not updated
|
||||
*----
|
||||
*/
|
||||
char parentBlk;
|
||||
int8 parentBlk;
|
||||
OffsetNumber offnumParent; /* offset within the parent page */
|
||||
|
||||
uint16 nodeI;
|
||||
|
Loading…
Reference in New Issue
Block a user