From 9324c8c580655800331b0582b770e88c01b7a5c4 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 26 Mar 2025 10:59:42 -0400 Subject: 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 Reviewed-by: Yurii Rashkovskii Reviewed-by: Tom Lane Discussion: https://postgr.es/m/dd4d1b59-d0fe-49d5-b28f-1e463b68fa32@gmail.com --- src/tools/pgindent/typedefs.list | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools') diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index 3fbf5a4c212..ff8d9ff0777 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -2229,6 +2229,7 @@ PgStat_WalCounters PgStat_WalStats PgXmlErrorContext PgXmlStrictness +Pg_abi_values Pg_finfo_record Pg_magic_struct PipeProtoChunk -- cgit v1.2.3