From ec7d01bee948cb4d4214b393bbd51031915e8d7f Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 14 Jun 2012 10:34:44 -0400 Subject: [PATCH] Comment fix. --- src/include/access/gist.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/include/access/gist.h b/src/include/access/gist.h index 9f4e2de078..5791178316 100644 --- a/src/include/access/gist.h +++ b/src/include/access/gist.h @@ -141,8 +141,9 @@ typedef struct GISTENTRY /* * Prior to PostgreSQL 9.3, the F_ROOT flag did not exist; the root page was * at a fixed location, GIST_OLD_ROOT_BLKNO. This block now contains the - * metapage. The correct test for whether you've got the root block is - * therefore blkno == 0 || GistPageIsRoot(page). + * metapage. To accommodate pg_upgrade from earlier server versions, the + * correct test for whether you've got the root block is therefore blkno == 0 + * || GistPageIsRoot(page). */ #define GistPageIsRoot(page) ( GistPageGetOpaque(page)->flags & F_ROOT) -- 2.39.5