robertmu opened a new pull request, #12:
URL: https://github.com/apache/cloudberry-go-libs/pull/12
When retrieving the segment configuration, there is special query logic for
Greenplum Database (GPDB) versions prior to "6".
The previous implementation only checked the version number. This could
cause an incorrect query to be executed on a non-GPDB database (like
CloudberryDB) that might also satisfy the `Before("6")` version check.
This commit adds an `IsGPDB()` check to ensure this legacy logic is
triggered only when connected to the correct database type, making the function
more robust.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]