robertmu opened a new pull request, #22: URL: https://github.com/apache/cloudberry-gpbackup/pull/22
The test for procedural language metadata was failing during cleanup on Cloudberry. The test creates a procedural language (e.g., plpython3u) and defers a `DROP LANGUAGE` command to clean it up. This fails because Cloudberry, being based on a newer PostgreSQL version (14), treats `CREATE LANGUAGE` as a wrapper for `CREATE EXTENSION`. This creates a dependency where the language is owned by the extension and cannot be dropped directly. The correct cleanup command is `DROP EXTENSION`. This commit adapts the test's cleanup logic. It now checks if the database is Cloudberry: - If it is, it defers `DROP EXTENSION`. - Otherwise, it continues to use `DROP LANGUAGE` for compatibility with older Greenplum versions. This ensures the test cleans up correctly on both platforms. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org For additional commands, e-mail: commits-h...@cloudberry.apache.org