git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f0c36a)
pg_overexplain: Use PG_MODULE_MAGIC_EXT.
2025年3月28日 13:16:29 +0000 (09:16 -0400)
2025年3月28日 13:16:29 +0000 (09:16 -0400)
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


diff --git a/contrib/pg_overexplain/pg_overexplain.c b/contrib/pg_overexplain/pg_overexplain.c
index 5f623e06019343f85d51fa2f620ad5c5a922d139..afc34ad5f2f184077cd40a603a4914f028341552 100644 (file)
--- 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
{
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /