Skip to content

Conversation

@naisila
Copy link
Member

@naisila naisila commented Jan 2, 2026

Relevant PG18 commit:
postgres/postgres@9324c8c58

This commit adds PG_MODULE_MAGIC_EXT info for citus and citus_columnar.

Tested this by the new PG18 pg_get_loaded_modules() function.

Fixes #8417

Note: this should be taken care of every time we release a new version and bump the citus version.

@codecov
Copy link

codecov bot commented Jan 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.79%. Comparing base (1c5b304) to head (0ccc18b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8438   +/-   ##
=======================================
  Coverage   88.78%   88.79%           
=======================================
  Files         287      287           
  Lines       63237    63239    +2     
  Branches     7927     7927           
=======================================
+ Hits        56148    56154    +6     
+ Misses       4758     4754    -4     
  Partials     2331     2331           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@naisila naisila changed the title Add module name & version of Citus by PG18 PG_MODULE_MAGIC_EXT macro Add PG_MODULE_MAGIC_EXT new PG18 macro for Citus and citus columnar Jan 2, 2026
@naisila naisila changed the title Add PG_MODULE_MAGIC_EXT new PG18 macro for Citus and citus columnar Add PG_MODULE_MAGIC_EXT macro for Citus and citus columnar Jan 2, 2026
@naisila naisila requested review from colm-mchugh and m3hm3t January 2, 2026 13:37
Relevant PG18 commit:
postgres/postgres@9324c8c58

Add the same for citus_columnar as well.
Test this by the new PG18 pg_get_loaded_modules() function.
@naisila naisila force-pushed the naisila/pg18_pg_module_magic_ext branch from 5f2cfe6 to 0ccc18b Compare January 2, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add macro PG_MODULE_MAGIC_EXT to allow extensions to report their name and version

2 participants