You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by "MisterRaindrop (via GitHub)" <gi...@apache.org> on 2026/01/28 04:07:10 UTC

[PR] feat: cleanup the PG_VERSION_NUM logic in source files [cloudberry-pxf]

MisterRaindrop opened a new pull request, #41:
URL: https://github.com/apache/cloudberry-pxf/pull/41

   <!--Thank you for contributing! -->
   
   <!--In case of an existing issue or discussions, please reference it-->
   closes: [#ISSUE_Number](https://github.com/apache/cloudberry-pxf/issues/37)
   <!--Remove this section if no corresponding issue.-->
   
   ---
   
   ## Change logs
   
   Cleanup the PG_VERSION_NUM logic in source files
   
   
   ## Contributor's checklist
   
   Here are some reminders before you submit your pull request:
   
   * Make sure that your Pull Request has a clear title and commit message. You can take the [Git commit template](https://github.com/apache/cloudberry/blob/main/.gitmessage) as a reference.
   * Learn the [code contribution](https://cloudberry.apache.org/contribute/code) and [doc contribution](https://cloudberry.apache.org/contribute/doc) guides for better collaboration.
   * Make sure that CICD workflow is successful.
   * List your communications in the [GitHub Issues](https://github.com/apache/cloudberry-pxf/issues) or [Discussions](https://github.com/apache/cloudberry/discussions) (if has or needed).
   * Feel free to ask for the [cloudberry committers](https://github.com/orgs/apache/teams/cloudberry-committers) or other people to help review and approve.


-- 
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-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] feat: cleanup the PG_VERSION_NUM logic in source files [cloudberry-pxf]

Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe commented on code in PR #41:
URL: https://github.com/apache/cloudberry-pxf/pull/41#discussion_r2735201320


##########
external-table/test/libchurl_test.c:
##########
@@ -190,14 +182,9 @@ test_churl_init_download(void **state)
 
 /*  wrapper function to enable sideeffect testing with multiple parameters */
 static void
-#if PG_VERSION_NUM >= 90400
 write_callback_wrapper(void *ptr)
 {
-	churl_context * user_context = (churl_context *) ptr;
-#else
-write_callback_wrapper(churl_context * user_context)
-{
-#endif
+	churl_context *user_context = (churl_context *) ptr;

Review Comment:
   ```suggestion
   	churl_context * user_context = (churl_context *) ptr;
   ```



-- 
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-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] feat: cleanup the PG_VERSION_NUM logic in source files [cloudberry-pxf]

Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe commented on PR #41:
URL: https://github.com/apache/cloudberry-pxf/pull/41#issuecomment-3809509698

   closes #37 


-- 
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-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] feat: cleanup the PG_VERSION_NUM logic in source files [cloudberry-pxf]

Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe merged PR #41:
URL: https://github.com/apache/cloudberry-pxf/pull/41


-- 
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-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org