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

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

commit 45ea69acc1ab905b8c52977ff0e14d79c45e9a19
Author: Brent Doil <[email protected]>
AuthorDate: Wed Jan 24 23:38:43 2024 -0500

    Remove dead pg_upgrade code
    
    This was missed by 3bf0f5ec8da72332a5c2b12de7d096f6290eecbc
---
 src/bin/pg_upgrade/function.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/bin/pg_upgrade/function.c b/src/bin/pg_upgrade/function.c
index 0448fce490..be45addc5c 100644
--- a/src/bin/pg_upgrade/function.c
+++ b/src/bin/pg_upgrade/function.c
@@ -54,7 +54,6 @@ get_loadable_libraries(void)
        PGresult  **ress;
        int                     totaltups;
        int                     dbnum;
-       bool            found_public_plpython_handler = false;
 
        ress = (PGresult **) pg_malloc(old_cluster.dbarr.ndbs * sizeof(PGresult 
*));
        totaltups = 0;
@@ -137,9 +136,6 @@ get_loadable_libraries(void)
                PQfinish(conn);
        }
 
-       if (found_public_plpython_handler)
-               pg_fatal("Remove the problem functions from the old cluster to 
continue.\n");
-
        os_info.libraries = (LibraryInfo *) pg_malloc(totaltups * 
sizeof(LibraryInfo));
        totaltups = 0;
 


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

Reply via email to