Use PG_MODULE_MAGIC_EXT macro in modules added in PG19

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Use PG_MODULE_MAGIC_EXT macro in modules added in PG19
Date: 2026-07-02 21:55:55
Message-ID: ad7b910c-d145-4120-994d-2e55c456aa75@proxel.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v1-0001-Use-PG_MODULE_MAGIC_EXT-in-newly-introduced-modul.patch text/x-patch 2.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul A Jungwirth 2026-07-02 21:57:15 Re: Fix RLS checks for UPDATE/DELETE FOR PORTION OF leftover rows
Previous Message Chao Li 2026-07-02 21:52:03 Re: Fix RLS checks for UPDATE/DELETE FOR PORTION OF leftover rows