diff --git a/contrib/pg_upgrade/info.c b/contrib/pg_upgrade/info.c index c8756b6a0b1fd883161823642ee49aa77b4168f4..a5058eaae70e921397acbdc32f7d6fb51a52e694 100644 --- a/contrib/pg_upgrade/info.c +++ b/contrib/pg_upgrade/info.c @@ -607,15 +607,16 @@ get_rel_infos(migratorContext *ctx, const DbInfo *dbinfo, } /* - * Get contents of pg_aovisimap_ + * Get contents of the auxiliary pg_aovisimap_ relation. In + * GPDB 4.3, the pg_aovisimap_.visimap field was of type "bit + * varying", but we didn't actually store a valid "varbit" datum in + * it. Because of that, we won't get the valid data out by calling + * the varbit output function on it. Create a little function to + * blurp out its content as a bytea instead. in 5.0 and above, the + * datatype is also nominally a bytea. * - * In GPDB 4.3, the pg_aovisimap_.visimap field was of type "bit varying", - * but we didn't actually store a valid "varbit" datum in it. Because of that, - * we won't get the valid data out by calling the varbit output function on it. - * Create a little function to blurp out its content as a bytea instead. in - * 5.0 and above, the datatype is also nominally a bytea. - * - * pg_aovisimap_ is identical for row and column oriented tables. + * pg_aovisimap_ is identical for row and column oriented + * tables. */ if (GET_MAJOR_VERSION(ctx->old.major_version) <= 802 && whichCluster == CLUSTER_OLD) {