apache / cloudberry

One advanced and mature open-source MPP (Massively Parallel Processing) database. Open source alternative to Greenplum Database.
https://cloudberry.apache.org
Apache License 2.0
417 stars 104 forks source link

Fix compile errors that has unused arguments or variables #673

Closed gfphoenix78 closed 1 month ago

gfphoenix78 commented 1 month ago

fix #668

Contributor's Checklist

Here are some reminders and checklists before/when submitting your pull request, please check them:

edespino commented 1 month ago

This PR compiles on Rocky Linux 8, 9 and Ubuntu 22 and make create-demo-cluster work. I am now running installcheck on the same platforms.

    psql -P pager=off template1 -c 'SELECT version()'
                                                                                         version                                                                                         
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 PostgreSQL 14.4 (Cloudberry Database 1.0.0+b7744db7b7 build 1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22), 64-bit compiled on Oct 16 2024 05:52:00

I will be validating the build and test portion again after commit review is complete.