Custom gucs visibility - Mailing list pgsql-hackers

From Nikhil Sontakke
Subject Custom gucs visibility
Date
Msg-id CANgU5ZfKSL=LTZwi0KAaUk9zWCX_YiG9=7OrzcUwbrehp7kAsQ@mail.gmail.com
Whole thread Raw
Responses Re: Custom gucs visibility
List pgsql-hackers
Hi,

So, if I have a contrib module which adds in a custom guc via DefineCustomIntVariable() for example. Now that custom guc is not visible via a show command unless that corresponding .so has been loaded into memory.

E.g.

postgres=# show pg_buffercache.fancy_custom_guc;
ERROR:  unrecognized configuration parameter "pg_buffercache.fancy_custom_guc"

Should we do something about this or we are ok with the current behavior? I would prefer to get to see the config parameter value if I so happen to want to see it before the load of that contrib module. Thoughts?

Regards,
Nikhils

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: MVCC catalog access
Next
From: Andres Freund
Date:
Subject: Re: MVCC catalog access