Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5533a27

Browse files
committed
Don't assume that 'char' is signed.
On some platforms, notably ARM and PowerPC, 'char' is unsigned bydefault. This fixes an assertion failure at WAL replay on such platforms.Reported by Noah Misch. Backpatch to 9.5, where this was broken.
1 parentd7fd22a commit5533a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/access/spgist_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ typedef struct spgxlogAddNode
465465
* -1: parent not updated
466466
*----
467467
*/
468-
charparentBlk;
468+
int8parentBlk;
469469
OffsetNumberoffnumParent;/* offset within the parent page */
470470

471471
uint16nodeI;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp