This is an automated email from the ASF dual-hosted git repository.

yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit f819916fea1f5fbeafaed51e3c688039d0dcb438
Author: Brent Doil <[email protected]>
AuthorDate: Thu Sep 8 15:57:07 2022 -0400

    pg_upgrade: Resolve FIXME for spclocation column
    
    For GPDB5 pg_tablespace.spclocation is used
    For GPDB6+ pg_catalog.pg_tablespace_location(oid) is used
    
    Authored-by: Brent Doil <[email protected]>
---
 src/bin/pg_upgrade/info.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/bin/pg_upgrade/info.c b/src/bin/pg_upgrade/info.c
index e1c1a778f4..fe04b4d354 100644
--- a/src/bin/pg_upgrade/info.c
+++ b/src/bin/pg_upgrade/info.c
@@ -396,7 +396,6 @@ get_db_infos(ClusterInfo *cluster)
        /* we don't preserve pg_database.oid so we sort by name */
                         "ORDER BY 2",
        /* 9.2 removed the spclocation column */
-       /* GPDB_XX_MERGE_FIXME: spclocation was removed in 6.0 cycle */
                         (GET_MAJOR_VERSION(cluster->major_version) <= 803) ?
                         "t.spclocation" : 
"pg_catalog.pg_tablespace_location(t.oid)");
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to