postgres.git / summary / log / commit / refs
commit 83ccc85859f30af44785b0dee830f7071d99ec4f
Author: Robert Haas <rhaas@postgresql.org>
Date: Fri Mar 28 13:16:29 2025 +0000
First released in: 18.0
pg_overexplain: Use PG_MODULE_MAGIC_EXT.
I committed this contrib module just after Tom committed
55527368bd07248e91e3d37a782bf66b76f06865; adjust it to match.
Author: Man Zeng <zengman@halodbtech.com>
Discussion: http://postgr.es/m/174313513707.60295.16516085012903412705.pgcf@coridan.postgresql.org
contrib/pg_overexplain/pg_overexplain.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/contrib/pg_overexplain/pg_overexplain.c b/contrib/pg_overexplain/pg_overexplain.c
index 5f623e06019..afc34ad5f2f 100644
--- a/contrib/pg_overexplain/pg_overexplain.c
+++ b/contrib/pg_overexplain/pg_overexplain.c
@@ -21,7 +21,10 @@
#include "utils/builtins.h"
#include "utils/lsyscache.h"
-PG_MODULE_MAGIC;
+PG_MODULE_MAGIC_EXT(
+ .name = "pg_overexplain",
+ .version = PG_VERSION
+);
typedef struct
{
[parent: 9f0c36aea0fb]