1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Mark argument of RegisterCustomRmgr() as const.

This commit is contained in:
Jeff Davis
2022-11-15 15:58:12 -08:00
parent ae168c794f
commit 1eda3ce802
4 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ typedef struct RmgrData
* developers. During development, use RM_EXPERIMENTAL_ID to avoid needlessly
* reserving a new ID.
*/
extern void RegisterCustomRmgr(RmgrId rmid, RmgrData *rmgr);
extern void RegisterCustomRmgr(RmgrId rmid, const RmgrData *rmgr);
</programlisting>
<function>RegisterCustomRmgr</function> must be called from the
extension module's <link linkend="xfunc-c-dynload">_PG_init</link> function.