summaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/jsonb_plpython.c
diff options
context:
space:
mode:
authorTom Lane2025-03-26 14:59:42 +0000
committerTom Lane2025-03-26 15:06:12 +0000
commit9324c8c580655800331b0582b770e88c01b7a5c4 (patch)
tree7abf1f4eebd29cb26fa05fc984db644fb174328d /contrib/jsonb_plpython/jsonb_plpython.c
parente92c0632c1473fe57383c58f0dfdde3bae7044f4 (diff)
Introduce PG_MODULE_MAGIC_EXT macro.
This macro allows dynamically loaded shared libraries (modules) to provide a wired-in module name and version, and possibly other compile-time-constant fields in future. This information can be retrieved with the new pg_get_loaded_modules() function. This feature is expected to be particularly useful for modules that do not have any exposed SQL functionality and thus are not associated with a SQL-level extension object. But even for modules that do belong to extensions, being able to verify the actual code version can be useful. Author: Andrei Lepikhov <[email protected]> Reviewed-by: Yurii Rashkovskii <[email protected]> Reviewed-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'contrib/jsonb_plpython/jsonb_plpython.c')
0 files changed, 0 insertions, 0 deletions