/*
* 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)