aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/gin/ginentrypage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/access/gin/ginentrypage.c b/src/backend/access/gin/ginentrypage.c
index 6f4e727b3e9..d5aa243a659 100644
--- a/src/backend/access/gin/ginentrypage.c
+++ b/src/backend/access/gin/ginentrypage.c
@@ -87,6 +87,8 @@ GinFormTuple(GinState *ginstate,
newsize = Max(newsize, minsize);
}
+ newsize = SHORTALIGN(newsize);
+
GinSetPostingOffset(itup, newsize);
GinSetNPosting(itup, nipd);