Re: Custom gucs visibility

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Custom gucs visibility
Дата
Msg-id 20130702161211.GA10978@fetter.org
обсуждение исходный текст
Ответ на Re: Custom gucs visibility  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Custom gucs visibility  (Nikhil Sontakke <nikkhils@gmail.com>)
Список pgsql-hackers
On Tue, Jul 02, 2013 at 11:37:13AM -0400, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > On Tue, Jul 2, 2013 at 9:32 AM, Nikhil Sontakke <nikkhils@gmail.com> wrote:
> >> 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?
> 
> > If we haven't loaded the .so yet, where would we get the list of
> > custom GUCs from?
> 
> This has come up before.  We could show the string value of the GUC,
> if it's been set in postgresql.conf, but we do not have correct
> values for any of the other columns in pg_settings; nor are we even
> sure that the module will think the value is valid once it does get
> loaded.  So the consensus has been that allowing the GUC to be
> printed would be more misleading than helpful.

How about printing them with something along the lines of, "Please
load extension foobar for details" or (less informative, but possibly
easier to code) "libfoobar.so not loaded." ?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Claudio Freire
Дата:
Сообщение: Re: Randomisation for ensuring nlogn complexity in quicksort
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Large object + FREEZE?