robertmu opened a new pull request, #35: URL: https://github.com/apache/cloudberry-gpbackup/pull/35
The logic for handling modern sequence definitions (`AS <type>`) and renaming constraints on exchanged partitions was previously gated for GPDB 7+ only. This caused incorrect backups on Cloudberry, which supports these modern PostgreSQL capabilities but was not included in the version check. Consequently, sequence types could be lost, and exchanged partition constraints could have incorrect names, leading to potential restore failures. This commit updates the version checks to the standard `(IsGPDB() && AtLeast("7")) || IsCBDB()` pattern. This ensures these critical features execute correctly for Cloudberry, improving backup correctness and reliability. -- 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