From: Robert Haas Date: Thu, 14 Jun 2012 14:34:44 +0000 (-0400) Subject: Comment fix. X-Git-Url: http://git.postgresql.org/gitweb/static/developers.postgresql.org?a=commitdiff_plain;h=ec7d01bee948cb4d4214b393bbd51031915e8d7f;p=users%2Frhaas%2Fpostgres.git Comment fix. --- 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)