opr_sanity checks that functions with cstring arguments are either
type input or conversion functions. Tweaking the function to accept
text seems like a better idea than relaxing opr_sanity tests.
int32 moduleid = PG_GETARG_INT32(0);
int32 fileid = PG_GETARG_INT32(1);
int32 msgid = PG_GETARG_INT32(2);
- const char *levelstr = PG_GETARG_CSTRING(3);
+ const char *levelstr = text_to_cstring(PG_GETARG_TEXT_PP(3));
int32 level;
if (!superuser())
DESCR("get progress for all replication origins");
#ifdef USE_MODULE_MSGIDS
-DATA(insert OID = 6015 ( pg_msgmodule_set PGNSP PGUID 12 1 1 0 0 f f f f t t i s 4 0 16 "20 20 20 2275" _null_ _null_ _null_ _null_ _null_ pg_msgmodule_set _null_ _null_ _null_ ));
+DATA(insert OID = 6015 ( pg_msgmodule_set PGNSP PGUID 12 1 1 0 0 f f f f t t i s 4 0 16 "20 20 20 25" _null_ _null_ _null_ _null_ _null_ pg_msgmodule_set _null_ _null_ _null_ ));
DESCR("set debugging level for module/file/msg");
DATA(insert OID = 6016 ( pg_msgmodule_change PGNSP PGUID 12 1 1 0 0 f f f f t t i s 4 0 16 "20 20 20 20" _null_ _null_ _null_ _null_ _null_ pg_msgmodule_change _null_ _null_ _null_ ));
DESCR("change debugging level for module/file/msg");