We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent51bb795 commit26f8b99Copy full SHA for 26f8b99
src/include/access/gin_private.h
@@ -220,7 +220,7 @@ typedef signed char GinNullCategory;
220
#defineGinSetPostingTree(itup,blkno)( GinSetNPosting((itup),GIN_TREE_POSTING), ItemPointerSetBlockNumber(&(itup)->t_tid, blkno) )
221
#defineGinGetPostingTree(itup) GinItemPointerGetBlockNumber(&(itup)->t_tid)
222
223
-#defineGIN_ITUP_COMPRESSED(1 << 31)
+#defineGIN_ITUP_COMPRESSED(1U << 31)
224
#defineGinGetPostingOffset(itup)(GinItemPointerGetBlockNumber(&(itup)->t_tid) & (~GIN_ITUP_COMPRESSED))
225
#defineGinSetPostingOffset(itup,n) ItemPointerSetBlockNumber(&(itup)->t_tid,(n)|GIN_ITUP_COMPRESSED)
226
#defineGinGetPosting(itup)((Pointer) ((char*)(itup) + GinGetPostingOffset(itup)))