Skip to content

Commit 83ccc85

Browse files
committed
pg_overexplain: Use PG_MODULE_MAGIC_EXT.
I committed this contrib module just after Tom committed 5552736; adjust it to match. Author: Man Zeng <zengman@halodbtech.com> Discussion: http://postgr.es/m/174313513707.60295.16516085012903412705.pgcf@coridan.postgresql.org
1 parent 9f0c36a commit 83ccc85

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contrib/pg_overexplain/pg_overexplain.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
#include "utils/builtins.h"
2222
#include "utils/lsyscache.h"
2323

24-
PG_MODULE_MAGIC;
24+
PG_MODULE_MAGIC_EXT(
25+
.name = "pg_overexplain",
26+
.version = PG_VERSION
27+
);
2528

2629
typedef struct
2730
{

0 commit comments

Comments
 (0)