Use PG_MODULE_MAGIC_EXT macro in modules added in PG19
Andreas Karlsson <andreas@proxel.se>
From: Andreas Karlsson <andreas@proxel.se>
To: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2026-07-02T21:55:55Z
Lists: pgsql-hackers
Attachments
- v1-0001-Use-PG_MODULE_MAGIC_EXT-in-newly-introduced-modul.patch (text/x-patch) patch v1-0001
Hi, It looks like we forgot about the PG_MODULE_MAGIC_EXT macro when adding pg_plan_advice, pg_stash_advice and pgrepack so here is a patch fixing that. Maybe we should also use the new macro in other places like our test modules and our modules in the documentation and the tutorial but there I am less certain and that is a separate topic. -- Andreas Karlsson Percona